[MPlayer-dev-eng] SPU pts ?

Kim Minh Kaplan kmkaplan at selfoffice.com
Thu Apr 4 10:23:20 CEST 2002


Kees Cook writes:

> Arpi wrote:
> 
>> What about this change, introduced by the new dvdnav patch?
>> 
>> -    spudec_heartbeat(vo_spudec,100*d_video->pts);
>> +    spudec_heartbeat(vo_spudec,90000*d_video->pts/1024);
>> 
>> afaik SPU uses 1/100 seconds as base timer, but maybe not...
>> where is that 90000/1024 coming from? any -reliable_ docs on this topic?
>
> Here is where I found that info:
>
> http://members.aol.com/mpucoder/DVD/spu.html

After rereading this I think it is spudec.c that needs to be patched.
Not the spudec_heartbeat call.  The change Arpi quotes will get the
subtitles out of sync.  As a matter of fact I just tested this change
and subtitles are gone forever...  This is broken.

Kim Minh.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spudec.patch
Type: text/x-patch
Size: 623 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020404/a875c428/attachment.bin>


More information about the MPlayer-dev-eng mailing list