gst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams
authorStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 6 Oct 2004 14:18:13 +0000 (14:18 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 6 Oct 2004 14:18:13 +0000 (14:18 +0000)
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
generate caps for ATRAC3 audio streams

* gst/realmedia/rmdemux.c:
generate caps for ATRAC3 audio streams

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

index ea8abf1039a665a7eb2693ef2ec813b7ba2f8653..d951411b5ec1ae7aa755a61e873dd11f291a2f4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-10-06  Stephane Loeuillet  <stephane.loeuillet@tiscali.fr>
+
+       * gst-libs/gst/riff/riff-media.c:
+         generate caps for ATRAC3 audio streams
+
+       * gst/realmedia/rmdemux.c:
+         generate caps for ATRAC3 audio streams
+
 2004-10-06  Stephane Loeuillet  <stephane.loeuillet@tiscali.fr>
 
        * gst/wavparse/Makefile.am
index 324fdeef5dfde1bf70d9574ab3168a580cf2b941..25e1c6909f18d9eb5951dc9a0f016c322eb39263 100644 (file)
@@ -476,6 +476,12 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id,
       }
       break;
     }
+    case GST_RIFF_WAVE_FORMAT_SONY_ATRAC3:
+      caps = gst_caps_new_simple ("audio/x-vnd.sony.atrac3", NULL);
+      if (codec_name)
+        *codec_name = g_strdup ("Sony ATRAC3");
+      break;
+
     default:
       GST_WARNING ("Unknown audio tag 0x%04x", codec_id);
       return NULL;