From: <sl...@ke...> - 2009-11-03 13:51:23
|
Module: gst-plugins-bad Branch: master Commit: 23e07bc1974bfa67878013fe7325eb60b0b757ab URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=23e07bc1974bfa67878013fe7325eb60b0b757ab Author: Sebastian Dröge <seb...@co...> Date: Tue Nov 3 14:50:15 2009 +0100 kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged --- ext/kate/gstkate.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ext/kate/gstkate.c b/ext/kate/gstkate.c index 7fecec3..118eb7e 100644 --- a/ext/kate/gstkate.c +++ b/ext/kate/gstkate.c @@ -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 |