[MPlayer-dev-eng] [PATCH] bugfix: subtitles from ogms are switched off to early

Michael Reinsch mr at uue.org
Wed Apr 21 14:50:01 CEST 2004


Hi!

The attached patch fixes a bug when playing ogm files with subtitles.
The subtitles are shown a bit to short, resulting in flickering when
subtitles follow each other with no pause between them. 

The ogm files which show this behaviour in current mplayer are fine,
xine for example shows the subtitles correctly with no visible pause
between them. The timing of the extracted subtitles also looks fine.

The patch increases the value added to clear_sub from 0.001 to 1.0 which
seems to work here. I don't know if that is the correct/perfect value -
but I don't mind if subtitles of broken ogm files are shown a bit too
long. But Showing subtitles of correct files too short isn't good.

Thanks.

-- 
  Michael Reinsch <mr at uue.org>                      http://mr.uue.org/
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_ogg.c.patch
Type: application/octet-stream
Size: 655 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040421/8ab5b2e0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040421/8ab5b2e0/attachment.pgp>


More information about the MPlayer-dev-eng mailing list