mpegts: Switch rank of mpegtsdemux and tsdemux

More effort has been put lately in tsdemux and works in more use cases
This commit is contained in:
Edward Hervey 2012-03-05 09:46:17 +01:00
parent c557f71756
commit 85878c142e
2 changed files with 2 additions and 2 deletions

View file

@ -3551,7 +3551,7 @@ gboolean
gst_mpegts_demux_plugin_init (GstPlugin * plugin)
{
if (!gst_element_register (plugin, "mpegtsdemux",
GST_RANK_PRIMARY, GST_TYPE_MPEGTS_DEMUX))
GST_RANK_SECONDARY, GST_TYPE_MPEGTS_DEMUX))
return FALSE;
return TRUE;

View file

@ -1603,5 +1603,5 @@ gst_ts_demux_plugin_init (GstPlugin * plugin)
init_pes_parser ();
return gst_element_register (plugin, "tsdemux",
GST_RANK_SECONDARY, GST_TYPE_TS_DEMUX);
GST_RANK_PRIMARY, GST_TYPE_TS_DEMUX);
}