[MPlayer-dev-eng] [REGRESSION] Ogg-Theora seeking [PATCH]
Sergey Khlutchin
khlut at samaramail.ru
Thu Sep 7 11:50:22 CEST 2006
Diego Biurrun wrote:
> On Thu, Jun 29, 2006 at 01:54:55AM -0700, RC wrote:
>
>>r18395 introduced a bug where Theora+Ogg videos will freeze after
>>any seeking at all.
>>
>>------------------------------------------------------------------------
>>r18395 | diego | 2006-05-06 00:31:49 -0700 (Sat, 06 May 2006) | 3 lines
>>
>>support for vfps OGM files
>>patch by Elphel Inc. (blessed by Roberto)
>>------------------------------------------------------------------------
>>
>>For slightly more info, see:
>> "[MPlayer-advusers] [BUGREPORT] Regression: Seeking in Theora videos"
>
>
> Just tested, backing out this commit does indeed fix the issue. So what
> do we do about this? Any clever ideas to support both vfps OGM files
> and Theora videos?
The problem was while seeking for the found frame the function demux_ogg_read_packet() is called twice.
As a result for theora granulepos value becomes in 256 times less and time of display of this frame becomes very big.
The attached patch solves the problem and allows vfps for ogm.
Sergey Khlutchin
Elphel, Inc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ogg-vfps-2.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060907/2b78ca58/attachment.asc>
More information about the MPlayer-dev-eng
mailing list