[MPlayer-dev-eng] [PATCH] gettimeofday() can go backwards

Attila Kinali kinali at gmx.net
Mon Dec 8 12:20:06 CET 2003

On Sun, 23 Nov 2003 18:35:24 +0100
Jonas Jensen <jbj at knef.dk> wrote:

> On my IBM Thinkpad, gettimeofday() sometimes goes backwards, making
> mplayer's status display go crazy. This one-liner patch workarounds this
> in the GetRelativeTime() function for Linux by simply ensuring that the
> returned value will always be at least zero.
> I have not implemented the fix for other platforms because I don't know
> whether it is actually a problem there. Perhaps it is already worked
> around in the kernel code on some platforms.

I dont think this is really needed as this problem comes from
speedstep and thus should be handled at kernel level rather
than be workarounded in mplayer (see also the FAQ)

			Attila Kinali

egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu

More information about the MPlayer-dev-eng mailing list