mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
videoparsers: Make the h263 and (new) mpeg video parser autopluggable
This commit is contained in:
parent
ddf32e2c49
commit
724d7a3def
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue