From d38bc531cc7ce9c90b74145e2be2e24cb48e501a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Dec 2014 17:46:35 +0100 Subject: 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. --- video/out/vo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/vo.h') 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; -- cgit v1.2.3