summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
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 /gst-libs/gst
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
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/riff/riff-media.c6
1 files changed, 6 insertions, 0 deletions
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;