1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavdevice
Olivier Langlois 0a15067047 lavd: 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.

Since v4l2 is compiled only on Linux where av_gettime_relative()
is monotonic, a small wrapper function av_gettime_monotonic() is used
(should be inlined the compiler) to put emphasis on that fact.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 16:10:12 +02:00
..
2014-04-11 17:51:33 +02:00
2014-04-22 20:44:31 +02:00
2014-04-11 17:51:33 +02:00
2014-04-03 00:41:45 +02:00
2014-04-24 05:12:07 +02:00
2014-05-18 16:10:12 +02:00
2014-05-02 18:04:05 +02:00