mirror of https://github.com/mpv-player/mpv
player/video.c: don't resync audio if video is an image
This commit is contained in:
parent
4bcefa5be3
commit
3038e578af
|
@ -282,7 +282,7 @@ void reinit_video_chain_src(struct MPContext *mpctx, struct track *track)
|
|||
vo_set_paused(vo_c->vo, get_internal_paused(mpctx));
|
||||
|
||||
// If we switch on video again, ensure audio position matches up.
|
||||
if (mpctx->ao_chain && mpctx->ao_chain->ao) {
|
||||
if (mpctx->ao_chain && mpctx->ao_chain->ao && !(track && track->image)) {
|
||||
ao_reset(mpctx->ao_chain->ao);
|
||||
mpctx->ao_chain->start_pts_known = false;
|
||||
mpctx->audio_status = STATUS_SYNCING;
|
||||
|
|
Loading…
Reference in New Issue