flvmux: Move stream skipping to GstAggregatorPadClass.skip_buffer
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Wed, 9 Sep 2020 13:12:53 +0000 (15:12 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 10 Sep 2020 09:20:46 +0000 (09:20 +0000)
commitdeeb3917a5723b5e120786b98555c332fb45a814
tree88136aa1ed879d7465be5452b1856b80c717f4ae
parented01e165b5155c51a8a902158415c9971df83116
flvmux: Move stream skipping to GstAggregatorPadClass.skip_buffer

Besides looking like the correct place to put this, it allows us to drop
the entire aggregator queue. The old implementation only dropped at most
one buffer for each call of aggregate.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/722>
gst/flv/gstflvmux.c