diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-03 14:50:15 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-03 14:51:04 +0100 |
commit | 23e07bc1974bfa67878013fe7325eb60b0b757ab (patch) | |
tree | 25706f7f30845d61ff0b9ede6f313dddf84f6cdb /ext | |
parent | 773a8bfb6c64c88fb178bc531586acf741efe817 (diff) | |
download | gstreamer-plugins-bad-23e07bc1974bfa67878013fe7325eb60b0b757ab.tar.gz |
kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged
Diffstat (limited to 'ext')
-rw-r--r-- | 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 7fecec302..118eb7e6d 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 |