summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-28 02:24:03 +0100
committerwm4 <wm4@nowhere>2015-11-28 02:24:03 +0100
commitea1caa474a1b469791129c75e587f3ad837e450d (patch)
tree52e852b2b6e2190a89fea1ae6870be10733ccbd5 /player
parent7023c383b22a9619840b88175a8c272f2f9d4414 (diff)
downloadmpv-ea1caa474a1b469791129c75e587f3ad837e450d.tar.bz2
mpv-ea1caa474a1b469791129c75e587f3ad837e450d.tar.xz
player: fix commit 50bb209a
Well, this was stupid.
Diffstat (limited to 'player')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 682ead6944..6d04685953 100644
--- a/player/video.c
+++ b/player/video.c
@@ -949,7 +949,7 @@ static void handle_display_sync_frame(struct MPContext *mpctx,
mpctx->display_sync_active = false;
- if (!VS_IS_DISP(mode))
+ if (!VS_IS_DISP(mode) || mpctx->display_sync_broken)
return;
bool resample = mode == VS_DISP_RESAMPLE || mode == VS_DISP_RESAMPLE_VDROP ||
mode == VS_DISP_RESAMPLE_NONE;