isomp4/qtmux: make sure to switch to next chunk on new caps
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 6 Aug 2021 20:59:23 +0000 (22:59 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 20 Aug 2021 00:16:43 +0000 (00:16 +0000)
commitfa835d686f7edbaf9617f496a9fee3132577df42
treee73b50fe6adfa3529fc0b8d35b8e984fbe4728d2
parente069824c7de530f8095fedce0820e846c72d466b
isomp4/qtmux: make sure to switch to next chunk on new caps

For example, with single video sink pad, and new codec_data is
received, current_chunk_offset must be reset to -1 for the
aggregate loop to open a new chunk.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1047>
gst/isomp4/gstqtmux.c