qtdemux: Ignore raw audio streams when adjusting seek
authorPiotr Brzeziński <piotr@centricular.com>
Thu, 29 Jun 2023 13:20:29 +0000 (15:20 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 15 Nov 2023 19:44:38 +0000 (19:44 +0000)
commit15e9b513da660914282bb29b284dad871d7c7453
treef9d1f06f279fdc5538abd722bc4832fcc4c32aac
parent07cb8432cc4fa6c9a713dbc4b0d64f9998bd71a6
qtdemux: Ignore raw audio streams when adjusting seek

Because we treat raw audio chunks/samples as keyframes, they were interfering
with seek time adjustment.
Became apparent when the accompanying video stream was I-frame only,
for example ProRes.
Since raw audio streams can be seeked freely, it's fine to just ignore them here,
giving priority to the real keyframes in the video stream.

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