appsrc: Add new max-buffers / max-time / current-level-buffers / current-level-time...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 30 Apr 2021 16:22:46 +0000 (19:22 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 5 May 2021 15:13:33 +0000 (15:13 +0000)
commitd987ec21f24098cb624ccafad43ddb33e04bb6ad
tree4a11652eed07febe39570d174434d66d47daf24d
parentca7a964fb120f680b6fc89b68960287abe2bf2de
appsrc: Add new max-buffers / max-time / current-level-buffers / current-level-time properties

These work the same way as the corresponding properties on queue and
allow to control the internal buffer size of the appsrc in a more
flexible way.

Unlike in queue the max-buffers and max-time properties are 0 (i.e.
disabled) by default for backwards compatibility reasons.

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