mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
gst-libs/gst/riff/riff-media.c: Allow random depths between 1 and 32 instead of only multiplies of 8.
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Allow random depths between 1 and 32 instead of only multiplies of 8.
This commit is contained in:
parent
cef23b669c
commit
9502a0e1b7
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-17 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
||||||
|
Allow random depths between 1 and 32 instead of only multiplies of 8.
|
||||||
|
|
||||||
2007-04-17 Sebastian Dröge <slomo@circular-chaos.org>
|
2007-04-17 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
|
||||||
|
|
|
@ -810,8 +810,7 @@ gst_riff_create_audio_caps (guint16 codec_id,
|
||||||
caps = gst_caps_from_string ("audio/x-raw-int, "
|
caps = gst_caps_from_string ("audio/x-raw-int, "
|
||||||
"endianness = (int) LITTLE_ENDIAN, "
|
"endianness = (int) LITTLE_ENDIAN, "
|
||||||
"signed = (boolean) { true, false }, "
|
"signed = (boolean) { true, false }, "
|
||||||
"width = (int) { 8, 16, 24, 32 }, "
|
"width = (int) { 8, 16, 24, 32 }, " "depth = (int) [ 1, 32 ]");
|
||||||
"depth = (int) { 8, 16, 24, 32 }");
|
|
||||||
}
|
}
|
||||||
if (codec_name && strf)
|
if (codec_name && strf)
|
||||||
*codec_name = g_strdup_printf ("Uncompressed %d-bit PCM audio",
|
*codec_name = g_strdup_printf ("Uncompressed %d-bit PCM audio",
|
||||||
|
|
Loading…
Reference in a new issue