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.
This commit is contained in:
Michael Smith 2009-02-10 12:26:25 -08:00
parent 67d5b7e6cd
commit d8d1d23471

View file

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