[MPlayer-users] Bug and fix in d_video->pts counter

Pascal Havé have at ann.jussieu.fr
Wed Feb 13 23:01:01 CET 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


[in libmpdemux/video.c line 250]

When demuxer->file_format==DEMUXER_TYPE_MPEG_ES, the pts counter is not 
increased by frame_time after decoding.

so, a simple fix may be :

if(demuxer->file_format==DEMUXER_TYPE_MPEG_PS || 
   demuxer->file_format==DEMUXER_TYPE_MPEG_ES) d_video->pts+=frame_time;

(This is be very usefull for subtitles !)

HP.
- -- 
| Pascal Havé
| Laboratoire Jacques-Louis Lions
| Université Pierre et Marie Curie
| Boite courrier 187, 75252  Paris cedex 05 FRANCE
| (express mail) 175 rue du Chevaleret, 75013 Paris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8at6SmhLInsKdD4IRAtOKAKDNr184aquZ7xpuAAI6sBilGbUclwCg32Ja
gBfX+Zo9gu+UnB20mU7GORY=
=o9hV
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list