kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged

This commit is contained in:
Sebastian Dröge 2009-11-03 14:50:15 +01:00
parent 773a8bfb6c
commit 23e07bc197

View file

@ -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