diff options
author | wm4 <wm4@nowhere> | 2014-12-10 17:00:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-10 17:00:18 +0100 |
commit | 56eb2b71b8787364238cf80bfb953aba14d55dbf (patch) | |
tree | aca17d71fb698c3c665d4c99c8be60bc594f64a6 /video/out/vo_vdpau.c | |
parent | c6dc0c6d99593a809803b1bf4bcc183b084f9b79 (diff) | |
download | mpv-56eb2b71b8787364238cf80bfb953aba14d55dbf.tar.bz2 mpv-56eb2b71b8787364238cf80bfb953aba14d55dbf.tar.xz |
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.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |