[Mplayer-cvslog] CVS: main mplayer.c,1.462,1.463

Felix Buenemann atmosfear at users.sourceforge.net
Thu Apr 11 18:20:57 CEST 2002


On Thursday 11 April 2002 18:42, Arpi wrote:
> 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

OK, seems I missed that point in the discussion, now I commited hopefully 
proper fix for vobsub.c, at least durations of vobsubs match durations of dvd 
subs from as far as I can see.

>
> A'rpi / Astral & ESP-team

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list