oggdemux: only keep last valid granulepos
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Oct 2010 14:03:36 +0000 (16:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Oct 2010 14:06:57 +0000 (16:06 +0200)
commitfea50233bb0d2ba54b142e735fa300e2191f3dbd
treeabecb19a509bb6681843f1f5a4c0ccd38ea5f865
parent9dc59cff151bf578012a735d0791ab4767debda6
oggdemux: only keep last valid granulepos

Only keep the last valid granulepos we see when scanning the last
pages. It is possible that the last page that we inspect has a -1 granulepos, in
which case we want to keep the previous valid time instead.

Fixes #631703
ext/ogg/gstoggdemux.c