qtdemux: Fix text and closed-caption handling.
authorJan Schmidt <jan@centricular.com>
Thu, 28 Oct 2021 10:37:47 +0000 (21:37 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 28 Oct 2021 10:45:33 +0000 (21:45 +1100)
commitf6ed40c93a55544482aba04bbc588b586183a967
treed6dfcb292d924ba68266172daa5e44dfb3b1b181
parent5b1662d37e13e25f076b176a7dbdaa0153b9ef9e
qtdemux: Fix text and closed-caption handling.

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1182
broke text and and closed caption extraction when introducing WebVTT
support, by making the output buffers not have timestamps any more.

Fix that by making the process functions copy buffer metadata
when generating new output buffers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1262>
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c