oggdemux: skip the second bisection when possible
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Sat, 22 Oct 2011 19:29:26 +0000 (20:29 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Nov 2011 09:48:48 +0000 (10:48 +0100)
commitb0bb1d353925c935d93f37706f21d8b199505ec5
tree28e28eb6b66dd3193ea56242fd166e0ee84d2884
parente7079cd8d5a7752f8052a093ca694f9e5a070fb0
oggdemux: skip the second bisection when possible

If we already saw the keyframes that we need to find,
we do not need to bisect to find them.

This will always be the case for streams with audio only,
where each frame acts as a keyframe, but will occasionally
also happen for streams with video.

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