WMA3 is v3, not v9
authorStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 17 May 2004 14:34:54 +0000 (14:34 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 17 May 2004 14:34:54 +0000 (14:34 +0000)
Original commit message from CVS:
WMA3 is v3, not v9

gst/asfdemux/README
gst/asfdemux/gstasfdemux.c

index c5d48c0..23c3efd 100644 (file)
@@ -50,7 +50,7 @@ WMV2          WMV2            video/x-wmv, wmvversion = (int) 2
 WMV3           WMV3            video/x-wmv, wmvversion = (int) 3
 WMA1           WMA1            audio/x-wma, wmaversion = (int) 1
 WMA2           WMA2            audio/x-wma, wmaversion = (int) 2
-                               audio/x-wma, wmaversion = (int) 9
+                               audio/x-wma, wmaversion = (int) 3
 
 These video stream headers is very similar to that used in the AVI
 format as are the audio stream headers. In addition the content types
index e1c3e1b..52cc448 100644 (file)
@@ -1521,9 +1521,9 @@ gst_asf_demux_audio_caps (guint16 codec_id,
       break;
 
     case GST_RIFF_WAVE_FORMAT_WMAV9:
-      caps = gst_caps_from_string ("audio/x-wma, " "wmaversion = (int) 9");
+      caps = gst_caps_from_string ("audio/x-wma, " "wmaversion = (int) 3");
       if (codec_name)
-        *codec_name = g_strdup ("Microsoft WMA V9");
+        *codec_name = g_strdup ("Microsoft WMA V3");
       break;
 
     default: