diff options
author | wm4 <wm4@nowhere> | 2015-11-13 22:48:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-13 22:48:32 +0100 |
commit | d5981924feb02384f9facbedc9fff2fb89ac8db3 (patch) | |
tree | 2d501f4193d89f594e694cdce207770b300facb3 /player/core.h | |
parent | 62b386c2fdb6d113c2c1042f0b3a973f3fb11828 (diff) | |
download | mpv-d5981924feb02384f9facbedc9fff2fb89ac8db3.tar.bz2 mpv-d5981924feb02384f9facbedc9fff2fb89ac8db3.tar.xz |
command: add vsync-ratio property
This is very "illustrative", unlike the video-speed-correction
property, and thus useful. It can also be used to observe scheduling
errors, which are not detected by the core. (These happen due to
rounding errors; possibly not evne our fault, but coming from
files with rounded timestamps and so on.)
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index fcdf0e3595..7031efc107 100644 --- a/player/core.h +++ b/player/core.h @@ -99,6 +99,7 @@ struct frame_info { double pts; double duration; // PTS difference to next frame double approx_duration; // possibly fixed/smoothed out duration + int num_vsyncs; // scheduled vsyncs, if using display-sync }; struct track { |