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

Alex Beregszaszi alex at fsn.hu
Sun Dec 7 16:44:47 CET 2003


> 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.
Attached a cleaner patch. Someone familiar with this code should

Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spudec.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031207/c023690d/attachment.asc>

More information about the MPlayer-dev-eng mailing list