gstreamer/gst/audiobuffersplit
Sebastian Dröge bd67ef18e9 audiobuffersplit: Unset DISCONT flag if not discontinuous
And also set/unset the RESYNC flag accordingly.

It can happen that the flag is preserved by GstAdapter from the input
buffer. For example if a big input buffer is split into many small ones,
each of the small ones would have the flag set.

All other buffer flags seem safe to keep here if they were set,
including the GAP flag.

Also ensure that the buffer is actually writable before changing any
flags or metadata on it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1298>
2020-05-25 12:41:32 +00:00
..
gstaudiobuffersplit.c audiobuffersplit: Unset DISCONT flag if not discontinuous 2020-05-25 12:41:32 +00:00
gstaudiobuffersplit.h audiobuffersplit: Perform discont tracking on running time 2020-05-11 07:25:39 +00:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00