[gst-devel] audio/raw float caps format

Benjamin Otte in7y118 at public.uni-hamburg.de
Sun Jun 29 13:05:08 CEST 2003

On Sat, 28 Jun 2003, Leif Johnson wrote:
> A last note : I noticed in the mimetypes file that 'width' and 'depth' are
> in bits, while in the audioconvert plugin 'width' is counted in bytes, and
> 'depth' in bits. Is something wrong with here, is this just a handy
> internal shortcut for the plugin, or am I missing something deeper ?
That's because we audioconvert only supports byte-sized widths but has to
support bitsize depths. And converting width to bytes was less to type
(though it made the code uglier)


More information about the gstreamer-devel mailing list