summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
authordudemanguy <random342@airmail.cc>2019-10-07 07:48:34 -0500
committerDudemanguy911 <random342@airmail.cc>2019-10-10 17:41:19 +0000
commite0895e097bcf15cdabc93f340dae24a88b0dc89c (patch)
tree8347cd700d146f7c1d2484af0e85e3df9389fc2c /video/out/vo_gpu.c
parent6002e2705f5e77de4a22fc24e94734dd3500feb7 (diff)
downloadmpv-e0895e097bcf15cdabc93f340dae24a88b0dc89c.tar.bz2
mpv-e0895e097bcf15cdabc93f340dae24a88b0dc89c.tar.xz
Revert "vo: add support for externally driven renderloop and make wayland use it"
The externally driven renderloop was originally added for the wayland context (to make display sync somewhat work), but it has a lot of issues with mpv's internal structure. A different approach should be used. This reverts commit a743fef837bcab206b1e576db7e7a64b02890449.
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index 3229594d9f..5b21646aa2 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -206,7 +206,7 @@ static int control(struct vo *vo, uint32_t request, void *data)
case VOCTRL_PAUSE:
if (gl_video_showing_interpolated_frame(p->renderer))
vo->want_redraw = true;
- break;
+ return true;
case VOCTRL_PERFORMANCE_DATA:
gl_video_perfdata(p->renderer, (struct voctrl_performance_data *)data);
return true;