Search found 1 match

by wly65535
Thu Mar 07, 2019 9:34 am
Forum: Developement with FFmpeg
Topic: why av_gettime_relative use av_gettime add 42 days on os don't have monotoinc clock?
Replies: 0
Views: 515

why av_gettime_relative use av_gettime add 42 days on os don't have monotoinc clock?

Hello everyone.
av_gettime_relative try to get the monotonic clock, but if the os don't have a monotonic clock, It returns av_gettime() + 42 days.
Why should add 42 days?

I think it's not necessary if try to calculate the time escaped.
'