[0.11] gst-plugins-base: audio: rework audio caps.
Sebastian Dröge
sebastian.droege at collabora.co.uk
Thu Aug 18 23:52:47 PDT 2011
On Thu, 2011-08-18 at 10:23 -0700, Wim Taymans wrote:
> +struct _GstAudioFormatInfo {
> + GstAudioFormat format;
> + const gchar *name;
> + GstAudioFormatFlags flags;
> + gint endianness;
> + gint width;
> + gint depth;
> + guint8 silence[8];
> + guint unpack_size;
> + GstAudioFormatUnpack unpack_func;
> + GstAudioFormatPack pack_func;
> +};
Isn't there some redundancy here now? endianness/width/depth are
expressed by the format already.
If only the GstAudioFormat stays it will be impossible to have, e.g. 16
bit samples in 4 bytes, which is something that some codecs would
require and we would need to do conversions inside the element then.
Also, can we get support for non-interleaved channels now that
everything is changed anyway? Just add it as an additional flag to
GstAudioFlags :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110819/13cafeda/attachment.pgp>
More information about the gstreamer-devel
mailing list