mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged
This commit is contained in:
parent
773a8bfb6c
commit
23e07bc197
1 changed files with 2 additions and 5 deletions
|
@ -80,10 +80,7 @@ plugin_init (GstPlugin * plugin)
|
|||
"Kate Tiger renderer");
|
||||
#endif
|
||||
|
||||
/* if we don't build tiger, we'll want to autoplug and convert to text,
|
||||
but if we do build tiger, we'll want to use it preferentially as it
|
||||
can play non text streams too */
|
||||
if (!gst_element_register (plugin, "katedec", GST_RANK_NONE,
|
||||
if (!gst_element_register (plugin, "katedec", GST_RANK_PRIMARY,
|
||||
GST_TYPE_KATE_DEC))
|
||||
return FALSE;
|
||||
|
||||
|
@ -100,7 +97,7 @@ plugin_init (GstPlugin * plugin)
|
|||
return FALSE;
|
||||
|
||||
#ifdef HAVE_TIGER
|
||||
if (!gst_element_register (plugin, "tiger", GST_RANK_NONE,
|
||||
if (!gst_element_register (plugin, "tiger", GST_RANK_PRIMARY,
|
||||
GST_TYPE_KATE_TIGER))
|
||||
return FALSE;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue