Page 1 of 1

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

Posted: Thu Mar 07, 2019 9:34 am
by wly65535
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.