[Mplayer-cvslog] CVS: main mplayer.c,1.462,1.463
Arpi
arpi at thot.banki.hu
Thu Apr 11 18:42:43 CEST 2002
Hi,
> note that in the original patch it was:
> - spudec_heartbeat(vo_spudec,100*d_video->pts);
> + spudec_heartbeat(vo_spudec,90000*d_video->pts/1024);
and it was bad
pts is 90000 ticks/sec, not 90, 100, 1000, 1024 or 90000/1024
the 1024 comes from spu header, the duration time is >>10 there to
save bits, so it has to be *1024 to get teh pts value
and this *1024 has to be applied in the spudec header parse, not at
mplayer.c
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog
mailing list