summaryrefslogtreecommitdiffstats
path: root/gst/rtjpeg
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-05-31 08:24:31 +0000
committerSteve Baker <steve@stevebaker.org>2002-05-31 08:24:31 +0000
commit2e1042ebe84ca020d1baba789a68e688207fc0ba (patch)
treed8ec99dd1bc22191f9453970b9d22ffa49a28acd /gst/rtjpeg
parent9ebe4d23952ababd3031dc7f72ea693c6afe2a64 (diff)
downloadgst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.tar.gz
gst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.tar.bz2
gst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.zip
add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any...
Original commit message from CVS: add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element.
Diffstat (limited to 'gst/rtjpeg')
-rw-r--r--gst/rtjpeg/gstrtjpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtjpeg/gstrtjpeg.c b/gst/rtjpeg/gstrtjpeg.c
index 649658f8..f42fac42 100644
--- a/gst/rtjpeg/gstrtjpeg.c
+++ b/gst/rtjpeg/gstrtjpeg.c
@@ -49,6 +49,7 @@ conversion utilities");
dec = gst_element_factory_new("rtjpegdec",GST_TYPE_RTJPEGDEC,
&gst_rtjpegdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
+ gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (dec));
return TRUE;