videoparsers: Make the h263 and (new) mpeg video parser autopluggable

This commit is contained in:
Sebastian Dröge 2011-09-07 13:46:49 +02:00
parent ddf32e2c49
commit 724d7a3def
2 changed files with 3 additions and 3 deletions

View file

@ -1027,7 +1027,7 @@ plugin_init (GstPlugin * plugin)
"MPEG Video Parser");
return gst_element_register (plugin, "legacympegvideoparse",
GST_RANK_PRIMARY, GST_TYPE_MPEGVIDEOPARSE);
GST_RANK_NONE, GST_TYPE_MPEGVIDEOPARSE);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,

View file

@ -33,13 +33,13 @@ plugin_init (GstPlugin * plugin)
gboolean ret;
ret = gst_element_register (plugin, "h263parse",
GST_RANK_NONE, GST_TYPE_H263_PARSE);
GST_RANK_PRIMARY + 1, GST_TYPE_H263_PARSE);
ret = gst_element_register (plugin, "h264parse",
GST_RANK_PRIMARY + 1, GST_TYPE_H264_PARSE);
ret = gst_element_register (plugin, "diracparse",
GST_RANK_NONE, GST_TYPE_DIRAC_PARSE);
ret = gst_element_register (plugin, "mpegvideoparse",
GST_RANK_NONE, GST_TYPE_MPEGVIDEO_PARSE);
GST_RANK_PRIMARY + 1, GST_TYPE_MPEGVIDEO_PARSE);
return ret;
}