oggdemux: Fix reverse playback
authorJan Schmidt <jan@centricular.com>
Fri, 3 Mar 2017 13:27:30 +0000 (00:27 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 3 Mar 2017 13:30:37 +0000 (00:30 +1100)
commit8596ec23cbf74a46b34ff3541718a1cdf311f370
treefdc13405130c85c1368bfd7e3a095ea4763b29b8
parentfe1f47aa17f0d835810f2b0c04e32177ff291c1f
oggdemux: Fix reverse playback

Fix various issues with reverse playback by clearing tracking
vars when working in reverse, and where possible using the
timestamp interpolation code to generate timestamps for
outgoing buffers. Make sure to mark things as discontinuous
only when looping backward to a new position and fix seeking
to the next page when starting.
ext/ogg/gstoggdemux.c