summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-15 08:39:52 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-12-15 08:39:52 +0000
commit1a8d3bd86dd8781340d5e73bfffb6a79a2612ba2 (patch)
treeb82572c0554198cc999ef8bf7101b705883c71f5 /gst-libs/gst
parente71d00b4b3de563171eda600fdf8c4329d8ea61f (diff)
downloadgst-plugins-bad-1a8d3bd86dd8781340d5e73bfffb6a79a2612ba2.tar.gz
gst-plugins-bad-1a8d3bd86dd8781340d5e73bfffb6a79a2612ba2.tar.bz2
gst-plugins-bad-1a8d3bd86dd8781340d5e73bfffb6a79a2612ba2.zip
MP3 is mpegversion=1, else it clashes with MPEG/AAC
Original commit message from CVS: MP3 is mpegversion=1, else it clashes with MPEG/AAC
Diffstat (limited to 'gst-libs/gst')
-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 c074d0a4..ef617e10 100644
--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -226,8 +226,9 @@ gst_riff_create_audio_caps (guint16 codec_id,
switch (codec_id) {
case GST_RIFF_WAVE_FORMAT_MPEGL3: /* mp3 */
caps = GST_CAPS_NEW ("riff_audio_mp1l3",
- "audio/mpeg",
- "layer", GST_PROPS_INT (3));
+ "audio/mpeg",
+ "mpegversion", GST_PROPS_INT (1),
+ "layer", GST_PROPS_INT (3));
break;
case GST_RIFF_WAVE_FORMAT_MPEGL12: /* mp1 or mp2 */