qtdemux: Skip zero-sized boxes instead of stopping to look at further boxes
authorSebastian Dröge <sebastian@centricular.com>
Tue, 24 Sep 2024 06:50:34 +0000 (09:50 +0300)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Tue, 24 Sep 2024 11:23:36 +0000 (13:23 +0200)
commitc9d1a1d53c4eda6e75d3aa1d6398dc8d07506a80
tree4440a576ba449201ddeeed3d59830c65000f329b
parentbcf16055aaf3c9edb85fa677edc93e7799d74040
qtdemux: Skip zero-sized boxes instead of stopping to look at further boxes

A zero-sized box is not really a problem and can be skipped to look at any
possibly following ones.

BMD ATEM devices specifically write a zero-sized bmdc box in the sample
description, followed by the avcC box in case of h264. Previously the avcC box
would simply not be read at all and the file would be unplayable.

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