mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...
Original commit message from CVS: Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
This commit is contained in:
parent
84bb13241f
commit
ceb37e80dd
1 changed files with 3 additions and 2 deletions
|
@ -233,8 +233,9 @@ gst_riff_create_audio_caps (guint16 codec_id,
|
||||||
|
|
||||||
case GST_RIFF_WAVE_FORMAT_MPEGL12: /* mp1 or mp2 */
|
case GST_RIFF_WAVE_FORMAT_MPEGL12: /* mp1 or mp2 */
|
||||||
caps = GST_CAPS_NEW ("riff_audio_mp1l12",
|
caps = GST_CAPS_NEW ("riff_audio_mp1l12",
|
||||||
"audio/mpeg",
|
"audio/mpeg",
|
||||||
"layer", GST_PROPS_INT (2));
|
"mpegversion", GST_PROPS_INT (1),
|
||||||
|
"layer", GST_PROPS_INT (2));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GST_RIFF_WAVE_FORMAT_PCM: /* PCM/wav */ {
|
case GST_RIFF_WAVE_FORMAT_PCM: /* PCM/wav */ {
|
||||||
|
|
Loading…
Reference in a new issue