Changeset 0a150670 in ffmpeg

Timestamp:
May 18, 2014, 2:10:12 PM (11 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
f1793fe9
Parents:
6e8fe448
git-author:
Olivier Langlois <olivier@trillion01.com> (05/12/14 20:26:36)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (05/18/14 14:10:12)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.