hlsdemux2: Look for mpegts synchronization point further
authorEdward Hervey <edward@centricular.com>
Fri, 27 May 2022 09:20:06 +0000 (11:20 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 17 Jun 2022 12:30:09 +0000 (12:30 +0000)
commit74f25cca31948aaff9b30bada6d810cae8da84a3
tree77d3195f1762d2bf986d48ea199c04b39d3c26f4
parentc4971a456ece5f7e956723e6812acba6e1a96c17
hlsdemux2: Look for mpegts synchronization point further

Some mpeg-ts streams have extra data at the beginning. While it's not ideal, we
should be able to cope with it.

Therefore increase the initial search window for at least 4 consecutive
synchronization points to 1kB.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2626>
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-util.c