From 56eb2b71b8787364238cf80bfb953aba14d55dbf Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 10 Dec 2014 17:00:18 +0100 Subject: vo: fix some nonsense Commit d38bc531 is incorrect: the 50ms queue-ahead value and the flip queue offset have different functions. The latter is about calling flip_page in advance, so the change attempted to show video frames 50ms in advance on all VOs. The change was for vo_opengl_cb, but that can be handled differently. --- video/out/vo_vdpau.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/vo_vdpau.c') diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index c1b63345f1..e1795e321f 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -261,8 +261,6 @@ static void resize(struct vo *vo) vc->flip_offset_us = vo->opts->fullscreen ? 1000LL * vc->flip_offset_fs : 1000LL * vc->flip_offset_window; - vc->flip_offset_us += VO_DEFAULT_FLIP_QUEUE_OFFSET; - vo_set_flip_queue_offset(vo, vc->flip_offset_us); if (vc->output_surface_width < vo->dwidth -- cgit v1.2.3