From a427a79b61f9bb19a13f410ba1efde8daced28e4 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 22 Jul 2005 13:35:48 +0000 Subject: gst/: Allow 24/32-bpp songs, too, and blockalign samples to the header-specified size (if any). Fixes #311070. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data): * gst/wavparse/gstwavparse.c: (gst_wavparse_loop): Allow 24/32-bpp songs, too, and blockalign samples to the header-specified size (if any). Fixes #311070. --- gst-libs/gst/riff/riff-media.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gst-libs/gst/riff') diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 80954195..5ed25037 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -446,7 +446,8 @@ gst_riff_create_audio_caps_with_data (guint16 codec_id, caps = gst_caps_from_string ("audio/x-raw-int, " "endianness = (int) LITTLE_ENDIAN, " "signed = (boolean) { true, false }, " - "width = (int) { 8, 16 }, " "depth = (int) { 8, 16 }"); + "width = (int) { 8, 16, 24, 32 }, " + "depth = (int) { 8, 16, 24, 32 }"); } if (codec_name && strf) *codec_name = g_strdup_printf ("Uncompressed %d-bit PCM audio", -- cgit v1.2.1