ffplay: Use av_gettime_relative()
authorOlivier Langlois <olivier@trillion01.com>
Tue, 6 May 2014 21:16:48 +0000 (17:16 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 17 May 2014 18:28:16 +0000 (20:28 +0200)
commit0ca0b4c29cf750cbb15732cddbe16723a66afda8
tree0c7077773083bcf2405c294bd552fba31257d059
parent43c18fec6e7cee336b5cf3ea5b0c6503410d6b73
ffplay: 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>
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c