summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;