From d8d1d234717c1bd8e7cfc0ebcd87ead2582eed49 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 10 Feb 2009 12:26:25 -0800 Subject: dshowdecwrapper: Make audio decoders have SECONDARY rank. These wrappers are not ideal, and for many of these formats there are better gstreamer elements available. So, make the rank SECONDARY. In particular, the mp3 decoder on winXP doesn't work very well. --- sys/dshowdecwrapper/gstdshowaudiodec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index ad6586b6..e856393c 100644 --- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp +++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp @@ -1124,7 +1124,7 @@ dshow_adec_register (GstPlugin * plugin) type = g_type_register_static (GST_TYPE_ELEMENT, audio_dec_codecs[i].element_name, &info, (GTypeFlags)0); if (!gst_element_register (plugin, audio_dec_codecs[i].element_name, - GST_RANK_PRIMARY, type)) { + GST_RANK_SECONDARY, type)) { return FALSE; } GST_CAT_DEBUG (dshowaudiodec_debug, "Registered %s", -- cgit v1.2.1