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. --- ChangeLog | 8 ++++++++ gst-libs/gst/riff/riff-media.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0c97b05a..d8741e7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-07-22 Ronald S. Bultje + + * 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. + 2005-07-22 Tim-Philipp Müller * ext/flac/gstflacdec.c: (gst_flacdec_write), 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