summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-13 22:13:16 +0100
committerDudemanguy <random342@airmail.cc>2023-11-18 22:54:29 +0000
commitdc2d58b51404fe7584b07af67f9b4797759e944e (patch)
treee75ea83c0ac58603a7e901affafc42bd5b6fdeaf
parentfaed191397c8a91be33d102fa6ec9d9108820bba (diff)
downloadmpv-dc2d58b51404fe7584b07af67f9b4797759e944e.tar.bz2
mpv-dc2d58b51404fe7584b07af67f9b4797759e944e.tar.xz
vo_gpu_next: remove incorrect interpolation disabling
We can possibly have all the frames needed for interpolation, even after a reset, so there's no need to prevent that.
-rw-r--r--video/out/vo_gpu_next.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c
index f8d311678c..02af20fa43 100644
--- a/video/out/vo_gpu_next.c
+++ b/video/out/vo_gpu_next.c
@@ -885,7 +885,6 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
int id = frame->frame_id + n;
if (p->want_reset) {
- can_interpolate = false;
pl_renderer_flush_cache(p->rr);
pl_queue_reset(p->queue);
p->last_pts = 0.0;