adaptivedemux2: Fix SNAP seek handling
authorEdward Hervey <edward@centricular.com>
Mon, 23 May 2022 07:11:24 +0000 (09:11 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Jun 2022 17:59:23 +0000 (17:59 +0000)
commit37b17ba0ebc1c4eb3371a206003c8ef4c40667bd
treec7b6b4795df1d0a6dc5aa15858bc666171521037
parent5271603852b732b469efe419b29b1b1535a8b76c
adaptivedemux2: Fix SNAP seek handling

* Since only flushing seeks are allowed, the "current" position is always the
  global output position (and not "some" stream current position).

* In terms of figuring out to which stream to "snap" to, we can send it to any
  selected stream. Removes the requirement of this function to a specific output
  pad.

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