gstreamer/tests/check
Mathieu Duponchelle 08442cc792 cccombiner: implement scheduling
Prior to that, cccombiner's behaviour was essentially that of
a funnel: it strictly looked at input timestamps to associate
together video and caption buffers.

This patch instead exposes a "schedule" property, with a default
of TRUE, to control whether caption buffers should be smoothly
scheduled, in order to have exactly one per output video buffer.

This can involve rewriting input captions, for example when the
input is CDP sequence counters are rewritten, time codes are dropped
and potentially re-injected if the input video frame had a time code
meta.

Caption buffers may also get split up in order to assign captions to
the correct field when the input is interlaced.

This can also imply that the input will drift from synchronization,
when there isn't enough padding in the input stream to catch up. In
that case the element will start dropping old caption buffers once
the number of buffers in its internal queue reaches a certain limit
(configurable).

The property is exposed so that existing users of cccombiner can
revert back to the original behaviour, but should eventually be
removed, as that behaviour was simply inadequate.

This commit also disallows changing the input caption type, as
this would needlessly complicate implementation, and removes
the corresponding test.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2076>
2021-03-17 22:00:25 +00:00
..
elements cccombiner: implement scheduling 2021-03-17 22:00:25 +00:00
generic Remove autotools build system 2019-10-14 13:54:27 +01:00
libs play: tests: Switch user-agent test to a real HTTP server 2021-03-09 18:03:48 +00:00
media meson test: Enable libs tests 2017-12-08 18:42:22 +01:00
pipelines documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gst-plugins-bad.supp validate: plug leak in gssdp 2020-09-14 14:42:36 +03:00
meson.build play: tests: Switch user-agent test to a real HTTP server 2021-03-09 18:03:48 +00:00