oggdemux: use the chain begin_time instead of our counter
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Feb 2010 10:41:20 +0000 (11:41 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Feb 2010 11:26:15 +0000 (12:26 +0100)
commit63593f5f1e9ab0b00bff487a42f8f04e62c2a1cc
tree403ef977c7795a8696cfa5ed311721420d1893d0
parente5f96a7a191ec903d421da42fcb24f86d84ae040
oggdemux: use the chain begin_time instead of our counter

We update the passed begintime argument to narrow our search region in the
binary search. This means that it does not always contain the chain begin time
after a couple of bisects. Use the real chain->begin_time to bring the
granuletime to the time in the chain instead.

Fixes #610005
ext/ogg/gstoggdemux.c