ffmpeg: Use av_gettime_relative()
authorOlivier Langlois <olivier@trillion01.com>
Tue, 6 May 2014 21:16:47 +0000 (17:16 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 00:35:07 +0000 (02:35 +0200)
commit76191c08f88fd66cf9198afc0c4a809c4c0336d4
treed74bac8092ca81b2abcdac087971b48dce720bdd
parente705d0ce1cd3b428ee2d03db6517e189dc3b142d
ffmpeg: Use av_gettime_relative()

Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils_opencl.c
ffmpeg.c