diff --git a/gst/jpegformat/gstjpegformat.c b/gst/jpegformat/gstjpegformat.c index 88b14f5d46..dd88e51f04 100644 --- a/gst/jpegformat/gstjpegformat.c +++ b/gst/jpegformat/gstjpegformat.c @@ -30,7 +30,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "jpegparse", GST_RANK_PRIMARY + 1, + if (!gst_element_register (plugin, "jpegparse", GST_RANK_NONE, GST_TYPE_JPEG_PARSE)) return FALSE; if (!gst_element_register (plugin, "jifmux", GST_RANK_NONE, GST_TYPE_JIF_MUX))