diff options
author | Stéphane Loeuillet <gstreamer@leroutier.net> | 2004-10-06 14:18:13 +0000 |
---|---|---|
committer | Stéphane Loeuillet <gstreamer@leroutier.net> | 2004-10-06 14:18:13 +0000 |
commit | b425777f9e3d19e312f2349473b893b54c3dd822 (patch) | |
tree | 1755e8299141d750383f977be83023dcfa327244 | |
parent | 01d9422a710926f6709fd4bee80901929a6fea3e (diff) | |
download | gst-plugins-bad-b425777f9e3d19e312f2349473b893b54c3dd822.tar.gz gst-plugins-bad-b425777f9e3d19e312f2349473b893b54c3dd822.tar.bz2 gst-plugins-bad-b425777f9e3d19e312f2349473b893b54c3dd822.zip |
gst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams
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
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gst-libs/gst/riff/riff-media.c | 6 |
2 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,13 @@ 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 * gst/wavparse/riff.h * gst/wavparse/wavparse.vcproj diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 324fdeef..25e1c690 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -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; |