opusdec: add 'stats' property
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 23 Apr 2020 08:17:31 +0000 (10:17 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 24 Apr 2020 12:49:05 +0000 (14:49 +0200)
commit989bbe29d8bb87073f80feaa01a0e0ba166bb816
tree37eac7cbde750b92a3ff1aa624762ba8e27e64f9
parenta4e49ba8c9657e2230aad32b6988bbda7a755440
opusdec: add 'stats' property

Allow users to retrieve the number of samples, and their duration,
generated using PLC.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/641>
ext/opus/gstopusdec.c
ext/opus/gstopusdec.h