summaryrefslogtreecommitdiffstats
path: root/gst/rtjpeg
diff options
context:
space:
mode:
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;