MP3 is mpegversion=1, else it clashes with MPEG/AAC
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 15 Dec 2003 08:39:52 +0000 (08:39 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 15 Dec 2003 08:39:52 +0000 (08:39 +0000)
Original commit message from CVS:
MP3 is mpegversion=1, else it clashes with MPEG/AAC

gst-libs/gst/riff/riff-media.c

index c074d0a43b16277f3574cd6704e351f414947aa7..ef617e10807bebc77a8dda1fc70a9c894b5837b9 100644 (file)
@@ -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 */