oggdemux: fix seeking in files with a "missing" stream
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 11 Mar 2015 16:46:38 +0000 (16:46 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 12 Mar 2015 14:53:27 +0000 (14:53 +0000)
commit87fd62811d759bd2b6dfb22cf7638b2d70979560
treea5669094e09f1391945ce35e8fc0c4ac1d6f6f04
parent3d60fb654bbcb45214c6bfdd99ef078630e26bde
oggdemux: fix seeking in files with a "missing" stream

When looking for pages when seeking, we stop looking for non sparse
streams if we don't find one within a given threshold. This fixes
seeking filling up queues and blocking in corner cases such as an
audio file with a pathological 1 frame video stream (yes, I saw one).

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