mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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:
parent
67d5b7e6cd
commit
d8d1d23471
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue