GNOME Bugzilla – Bug 548530
wavenc allows audio depth of 25
Last modified: 2008-10-04 21:57:13 UTC
wavenc sinkpad caps: audio/x-raw-int rate: [ 1, 2147483647 ] channels: [ 1, 2 ] endianness: 1234 width: 32 depth: [ 25, 32 ] signed: true audio/x-raw-int rate: [ 1, 2147483647 ] channels: [ 1, 2 ] endianness: 1234 width: 24 depth: [ 17, 24 ] signed: true audio/x-raw-int rate: [ 1, 2147483647 ] channels: [ 1, 2 ] endianness: 1234 width: 16 depth: [ 9, 16 ] signed: true This allows, for example, the creation of a 25-bit depth file. I'm pretty sure this is not what any user wants, except perhaps in an enable-crazy-shit-that-will-only-cause-problems mode. In the interest of sanity, I'm removing the ranges and replacing them with sane values. Notably, the pipeline 'filesrc ! flacdec ! audioconvert ! wavenc ! filesink' will create a 25-bit-depth file, since flac outputs 24/32, and wavenc won't accept it, even though it's actually a common format.
2008-08-19 David Schleef <ds@schleef.org> * gst/wavenc/gstwavenc.c: Remove depth ranges and replace with sane values. Fixes #548530.