]> git.sesse.net Git - vlc/commit
Forwardport 5ead92ffd58088828ed802173d963b2571f0cd69
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 7 Feb 2009 23:31:33 +0000 (00:31 +0100)
committerDerk-Jan Hartman <hartman@videolan.org>
Fri, 20 Feb 2009 14:49:26 +0000 (15:49 +0100)
commit5a005c66194a61f1e24e1ea0a9547f996f541011
tree57414256de4fe47743aa34572df597bd0fdacaa0
parent4a49ce095158d52988c42fabc0db82786495f9b4
Forwardport 5ead92ffd58088828ed802173d963b2571f0cd69
mtime: Use mach_absolute_time on Mac OS X instead of gettimeofday.

mach_absolute_time() is a monotic clock, whereas gettimeofday() is not. For that reason setting your computer time while playing a movie won't halt playback anymore.

Seems to fix the dropped frame issue on Mac OS X.

Signed-off-by: Derk-Jan Hartman <hartman@videolan.org>
src/misc/mtime.c
src/misc/threads.c