gstreamer/gst-libs/gst
Edward Hervey 65b6994df6 videoaggregator: Pop out old buffers on timeout
This situation happens in the situation where an input stream has a framerate
exceeding the timeout latency (Ex: 1fps with a latency of 500ms) and an input
stream greater than output framerate (ex: 60fps in, 30 fps out).

The problem that would happen is that we would timeout, but then buffers from
the fast input stream would only be popped out one by one.... until a buffer
reaches the low-framerate input stream at which point they would quickly be
popped out/used. The resulting output would be "slow ... fast ... slow ... fast"
of that input fast stream.

In order to avoid this situation, whenever we detect a late buffer, check if
there's a next one and re-check with that one.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/990>
2020-12-30 16:03:13 +01:00
..
allocators fdmemory: Allow for change of protection mode 2020-10-28 17:11:05 +00:00
app Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
audio audiobasesrc: always acquire if not acquired in _setcaps 2020-12-04 13:57:58 +00:00
fft Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
gl glbasefilter: Need to check the display before lock it. 2020-12-04 00:23:38 +08:00
pbutils pbutils: Add support for muxing sinks usage in encoding profiles 2020-11-30 15:44:53 -03:00
riff Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtp rtpbasepayload: pass optional caps fields in a GstStructure 2020-12-05 08:29:31 +00:00
rtsp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
sdp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
tag Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
video videoaggregator: Pop out old buffers on timeout 2020-12-30 16:03:13 +01:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
meson.build meson: Add feature options for all plugins 2018-07-27 18:42:11 +05:30