gstaudiodecoder: take into account GstAudioMeta::samples on the output buffers
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 14 Feb 2018 11:55:06 +0000 (13:55 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 23 Jul 2018 12:27:08 +0000 (15:27 +0300)
commit0ce20cef4fcc5e5e5723479bf8e980d92ece09f5
tree5b99e2573418b31c52a14818f86281a1b29a71b5
parent2d38d2f1d3822f37c73cf446d1394b60792250a9
gstaudiodecoder: take into account GstAudioMeta::samples on the output buffers

This is useful if the output buffers are planar and have extra padding
on each plane, in which case size/bpf does not represent the number of
valid samples.

https://bugzilla.gnome.org/show_bug.cgi?id=705977
gst-libs/gst/audio/gstaudiodecoder.c