diff options
author | Marton Balint <[email protected]> | 2021-02-07 00:55:25 +0100 |
---|---|---|
committer | Marton Balint <[email protected]> | 2021-02-27 21:41:50 +0100 |
commit | 2d32aed85c4874a2596202b6f0c08e6ce49e3bca (patch) | |
tree | 3a59a78746a61ffa1bcf93774d6e4ef009bf3fc7 /doc/examples/encode_video.c | |
parent | 529bf5daf2935fb87787d7f7a5263e1b254d59d2 (diff) |
avdevice: use av_gettime_relative() for elapsed time calculations
av_gettime_relative() is using the monotonic clock therefore more suitable for
elapsed time calculations. Packet timestamps are still kept absolute, although
that should be configurable in the future.
Related to ticket #9089.
Signed-off-by: Marton Balint <[email protected]>
Diffstat (limited to 'doc/examples/encode_video.c')
0 files changed, 0 insertions, 0 deletions