summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39c7e0b)
raw | patch | inline | side by side (parent: 39c7e0b)
author | Luciana Fujii Pontello <luciana.fujii@collabora.co.uk> | |
Fri, 20 Jan 2012 00:45:17 +0000 (19:45 -0500) | ||
committer | Luciana Fujii Pontello <luciana.fujii@collabora.co.uk> | |
Fri, 20 Jan 2012 00:45:17 +0000 (19:45 -0500) |
Increase encoders' ranks to make them be chosen before other
primary encoders.
primary encoders.
src/gstducati.c | patch | blob | history |
diff --git a/src/gstducati.c b/src/gstducati.c
index bd7993f9a14101b894a4a748153ff55da4b11ca0..79a20c1b23c95062c09b151d3d1da36a7a6bed3b 100644 (file)
--- a/src/gstducati.c
+++ b/src/gstducati.c
GST_TYPE_DUCATIVP7DEC) &&
gst_element_register (plugin, "ducatirvdec", GST_RANK_PRIMARY,
GST_TYPE_DUCATIRVDEC) &&
- gst_element_register (plugin, "ducatih264enc", GST_RANK_PRIMARY,
+ gst_element_register (plugin, "ducatih264enc", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIH264ENC) &&
- gst_element_register (plugin, "ducatimpeg4enc", GST_RANK_PRIMARY,
+ gst_element_register (plugin, "ducatimpeg4enc", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIMPEG4ENC);
}