ccextractor: Always forward all sticky events to the caption pad
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Oct 2019 09:22:06 +0000 (11:22 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 29 Oct 2019 09:08:42 +0000 (09:08 +0000)
commit01901c66d6a5cbc7c67b30d30004d71710c82109
tree80a664b3f43b5177621977490b453fdcd9d9aa69
parent70e44a459809488df59f65b861dab712e446262c
ccextractor: Always forward all sticky events to the caption pad

And only update the caps and stream-start event accordingly. This
ensures that we'll always forward sticky events that arrive after the
caption pad was created, and especially updates to existing sticky
events like the segment event.

Also create a proper stream id based on the upstream stream id for the
stream-start event, and make sure that all the sticky events we know are
already on the caption pad at the time it is added to the element.
ext/closedcaption/gstccextractor.c