summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-11-06 00:18:00 +0530
committersfan5 <sfan5@live.de>2023-11-06 11:39:45 +0100
commitd9b33dd79ad1f5e0ea7b4a44592e73c905f81ece (patch)
tree236215171a2d13221a6686cb051d60294bb6b7bb /video/out/vo.c
parent0257d53d2c8f058d25af0b04a4c2e3b9676e8618 (diff)
downloadmpv-d9b33dd79ad1f5e0ea7b4a44592e73c905f81ece.tar.bz2
mpv-d9b33dd79ad1f5e0ea7b4a44592e73c905f81ece.tar.xz
Revert "vo: clear vsync_offset if drawing while paused"
This reverts commit 640c07fb19b7ea11f1a97784e517c38449f816d0. This commit isn't needed anymore after the previous commit.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 16178f2caa..b6dbd7e32a 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -874,9 +874,6 @@ static bool render_frame(struct vo *vo)
frame->duration = -1;
}
- if (in->paused)
- frame->vsync_offset = 0;
-
int64_t now = mp_time_ns();
int64_t pts = frame->pts;
int64_t duration = frame->duration;