• Pierre d'Herbemont's avatar
    Forwardport 5ead92ff · 5a005c66
    Pierre d'Herbemont authored
    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: default avatarDerk-Jan Hartman <hartman@videolan.org>
    5a005c66
mtime.c 17.4 KB