diff --git a/player/video.c b/player/video.c index 540b27f4c4..d09cf3800a 100644 --- a/player/video.c +++ b/player/video.c @@ -870,7 +870,7 @@ fail: static bool using_spdif_passthrough(struct MPContext *mpctx) { if (mpctx->d_audio && mpctx->d_audio->afilter) - return !af_fmt_is_pcm(mpctx->d_audio->afilter->output.format); + return !af_fmt_is_pcm(mpctx->d_audio->afilter->input.format); return false; }