summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-09 17:46:35 +0100
committerwm4 <wm4@nowhere>2014-12-09 17:59:04 +0100
commitd38bc531cc7ce9c90b74145e2be2e24cb48e501a (patch)
tree0c53c6e9199794c5c5f3e1509abae1750a77759e /video/out/vo.h
parent349d19dda9f7fe486c9521c04023528c7aa71998 (diff)
downloadmpv-d38bc531cc7ce9c90b74145e2be2e24cb48e501a.tar.bz2
mpv-d38bc531cc7ce9c90b74145e2be2e24cb48e501a.tar.xz
vo: include normal render-ahead time in flip_queue_offset
A small refactor; shouldn't change any behavior. Do this so immediate display can be achieved.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index a083437397..f54e2c1a55 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -158,6 +158,8 @@ struct voctrl_screenshot_args {
// VO does framedrop itself (vo_vdpau). Untimed/encoding VOs never drop.
#define VO_CAP_FRAMEDROP 2
+#define VO_DEFAULT_FLIP_QUEUE_OFFSET ((uint64_t)(0.050 * 1e6))
+
struct vo;
struct osd_state;
struct mp_image;