mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +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");
|
"Kate Tiger renderer");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* if we don't build tiger, we'll want to autoplug and convert to text,
|
if (!gst_element_register (plugin, "katedec", GST_RANK_PRIMARY,
|
||||||
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,
|
|
||||||
GST_TYPE_KATE_DEC))
|
GST_TYPE_KATE_DEC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@ -100,7 +97,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
#ifdef HAVE_TIGER
|
#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))
|
GST_TYPE_KATE_TIGER))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue