Revert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"
authorTim-Philipp Müller <tim@centricular.com>
Wed, 20 May 2015 09:22:48 +0000 (10:22 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 20 May 2015 09:28:30 +0000 (10:28 +0100)
commit0a3b584aa0cffa6310de162f0b70f318913d786f
treeb973603318efa67e2645431c7de3743f1dd06242
parenta5075a6ba88c855a5b61b1baa666074205553656
Revert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"

This reverts commit 76647f2710d718e27f207b005956b7dba72c2d19.

Avoiding pull mode activation is a feature regression, and
demuxers should always use pull mode where that is possible,
e.g. if there's an upstream queue2 with a ring buffer or
a download buffer.

This patch made reverse playback no longer possible over http.

If the goal is to minimise seeks, then that can still be done
by making the demuxer behave differently in pull mode if
the SEQUENTIAL flag is set. If there are bugs, like the demuxer
needlessly scanning the entire file on start-up in pull mode,
then those should be fixed instead.

https://bugzilla.gnome.org/show_bug.cgi?id=746010
ext/ogg/gstoggdemux.c