summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1sys
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/mpeg1sys
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/mpeg1sys')
-rw-r--r--gst/mpeg1sys/gstmpeg1systemencode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c
index 62a7d4b1..dfac9493 100644
--- a/gst/mpeg1sys/gstmpeg1systemencode.c
+++ b/gst/mpeg1sys/gstmpeg1systemencode.c
@@ -79,7 +79,9 @@ GST_PAD_TEMPLATE_FACTORY (audio_sink_factory,
GST_CAPS_NEW (
"sink_audio",
"audio/mpeg",
- NULL /* well, "don't care" */
+ "mpegversion", GST_PROPS_INT (1),
+ "layer", GST_PROPS_INT_RANGE (1, 2)
+ /* "don't care" about samplerate/channels */
)
)