[MPlayer-dev-eng] Re: [PATCH]time stamps in spudec.c

Arne Driescher driescher at mpi-magdeburg.mpg.de
Mon Dec 1 10:32:39 CET 2003


On Saturday 29 November 2003 15:43, you wrote:
> Arne Driescher wrote:
> > Explenation:
> > A command like start_display/stop_display/force_display for a subtitle
> > gets an argument that specifies the delay when the command should be
> > executed. (E.g. for start_display this delay is most often 0 so that
> > subtitle start time is equal to pts. However stop_display is normally
> > the same pts but the delay is greater than 0.)
> > The time offset is based on the 90KHz clock divided by 1024.
> > In the current version the delay is calculated as ticks in the 90KHz
> > clock and not in pts100 units as it should be.
>
> This looks wrong to me.
> The unit of pts100 is clock ticks in the 90KHz clock.
> If the time offset is based on 90KHz/1024 then
> date = get_be16(this->packet + start_off) * 1024
> should be perfectly fine.

Yes you are right. I am sorry for this mistake and
withdraw the patch.

Greetings,
Arne

P.S.  Why on earth is it called a PTS100 when it is in 90KHz ticks :-(

 



More information about the MPlayer-dev-eng mailing list