summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-18 09:31:50 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-18 09:31:50 +0000
commit6382c57f0e4287ad8875897bce394c718259f7a3 (patch)
treee8231874fe50f66ed8a0dc101aaccc73de970d3c /gst-libs
parent6662cd73ccfcd844ccabc53f57b2fe41b8ab580f (diff)
downloadgst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.tar.gz
gst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.tar.bz2
gst-plugins-bad-6382c57f0e4287ad8875897bce394c718259f7a3.zip
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.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/riff/riff-media.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
index ef617e10..eeb6fd63 100644
--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -233,8 +233,9 @@ gst_riff_create_audio_caps (guint16 codec_id,
case GST_RIFF_WAVE_FORMAT_MPEGL12: /* mp1 or mp2 */
caps = GST_CAPS_NEW ("riff_audio_mp1l12",
- "audio/mpeg",
- "layer", GST_PROPS_INT (2));
+ "audio/mpeg",
+ "mpegversion", GST_PROPS_INT (1),
+ "layer", GST_PROPS_INT (2));
break;
case GST_RIFF_WAVE_FORMAT_PCM: /* PCM/wav */ {