adaptivedemux2: Handle loss of synchronization
authorEdward Hervey <edward@centricular.com>
Mon, 23 May 2022 13:43:04 +0000 (15:43 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Jun 2022 17:59:23 +0000 (17:59 +0000)
commitd88d7d5b552b326834ac3f65cd08c335b202e861
tree6f2a2ac16fe514fea6bd7672aad8f1d22f83d188
parent37b17ba0ebc1c4eb3371a206003c8ef4c40667bd
adaptivedemux2: Handle loss of synchronization

Add a new custom GstFlowReturn so that subclasses can notify that they have lost
live synchronization.

When that happens, do a flushing seek back to the live position

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2679>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-private.h
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.h