cccombiner: Update segment according to video sink pad
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 8 Jul 2020 15:24:06 +0000 (18:24 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 8 Jul 2020 17:11:38 +0000 (17:11 +0000)
commitbf38898af82628b7509e92d82c2b239684f5f222
tree09fc66b68c7367fba4fda4cdcd3e67c9da2ec765
parent0e075b4dbf93a5abedcd58bd2fe5d150ffabe38b
cccombiner: Update segment according to video sink pad

Otherwise the following pipeline would preroll after 1000 hours:
gst-launch-1.0 videotestsrc ! x264enc ! cccombiner ! fakesink silent=0 sync=1 -v

Fixes #1355

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1419>
ext/closedcaption/gstcccombiner.c