diff options
author | Michael Smith <msmith@songbirdnest.com> | 2009-02-10 12:26:25 -0800 |
---|---|---|
committer | Michael Smith <msmith@songbirdnest.com> | 2009-02-10 12:26:25 -0800 |
commit | d8d1d234717c1bd8e7cfc0ebcd87ead2582eed49 (patch) | |
tree | b266693937caf0754ba606fcb4e1d14116099e38 /sys/dshowdecwrapper | |
parent | 67d5b7e6cde81363970479becabee7f4d3a66a35 (diff) | |
download | gstreamer-plugins-bad-d8d1d234717c1bd8e7cfc0ebcd87ead2582eed49.tar.gz |
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.
Diffstat (limited to 'sys/dshowdecwrapper')
-rw-r--r-- | sys/dshowdecwrapper/gstdshowaudiodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index ad6586b6a..e856393c3 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", |