summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-10-06 14:18:13 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-10-06 14:18:13 +0000
commitb425777f9e3d19e312f2349473b893b54c3dd822 (patch)
tree1755e8299141d750383f977be83023dcfa327244
parent01d9422a710926f6709fd4bee80901929a6fea3e (diff)
downloadgst-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--ChangeLog8
-rw-r--r--gst-libs/gst/riff/riff-media.c6
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea8abf10..d951411b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;