summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-20 14:28:02 +0200
committerwm4 <wm4@nowhere>2015-05-20 14:28:02 +0200
commit0e78424842513b14867ebc82e628da7c4eac8580 (patch)
tree67a3d79856f5edcef5ec6a23d86c27cecc4ab033 /player
parent3e0dae6959d61c053be9811012debde2f17f8ade (diff)
downloadmpv-0e78424842513b14867ebc82e628da7c4eac8580.tar.bz2
mpv-0e78424842513b14867ebc82e628da7c4eac8580.tar.xz
video: force audio resync after video discontinuity
Diffstat (limited to 'player')
-rw-r--r--player/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index 4c8af0f46a..4e89416db7 100644
--- a/player/video.c
+++ b/player/video.c
@@ -575,6 +575,7 @@ static void shift_new_frame(struct MPContext *mpctx)
MP_WARN(mpctx, "Invalid video timestamp: %f -> %f\n",
mpctx->video_pts, pts);
frame_time = 0;
+ mpctx->audio_status = STATUS_SYNCING;
}
}
mpctx->video_next_pts = pts;