appsrc: Implement a leaky property similar to the queue element
authorSebastian Dröge <sebastian@centricular.com>
Sun, 2 May 2021 17:46:00 +0000 (20:46 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 5 May 2021 15:13:33 +0000 (15:13 +0000)
commit02530e9d3e63e7bccb3f08e761791dab0c1d7258
tree2398c5a0e2737540b7b2b23fc03a46371f6a78e0
parentd987ec21f24098cb624ccafad43ddb33e04bb6ad
appsrc: Implement a leaky property similar to the queue element

This allows dropping the newest or oldest buffer when the internal queue
is full instead of blocking or continuing to grow.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1133>
docs/plugins/gst_plugins_cache.json
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/app/gstappsrc.h