diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-08 18:32:42 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-23 00:10:49 +0000 |
commit | 0a799547aa601b75705900772b343e9c9f1da150 (patch) | |
tree | 938624c766fbf32b803ea3bade0541c7bcba1920 /video/out/vo.h | |
parent | ed8b3cef5f097750032873ea114b99480efcbc3c (diff) | |
download | mpv-0a799547aa601b75705900772b343e9c9f1da150.tar.bz2 mpv-0a799547aa601b75705900772b343e9c9f1da150.tar.xz |
vo: define <= 0 as unsupported for last_queue_display_time
Also sanitize vsync values, just in case.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 233f8c1094..6efc6ef63f 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -262,7 +262,7 @@ struct vo_frame { struct vo_vsync_info { // mp_time_ns() timestamp at which the last queued frame will likely be // displayed (this is in the future, unless the frame is instantly output). - // -1 if unset or unsupported. + // 0 or lower if unset or unsupported. // This implies the latency of the output. int64_t last_queue_display_time; |