diff --git a/player/video.c b/player/video.c index 5f0809791a..9be4f6a9a0 100644 --- a/player/video.c +++ b/player/video.c @@ -289,7 +289,7 @@ int reinit_video_chain(struct MPContext *mpctx) } #if HAVE_ENCODING - if (mpctx->encode_lavc_ctx && d_video) + if (mpctx->encode_lavc_ctx) encode_lavc_set_video_fps(mpctx->encode_lavc_ctx, d_video->fps); #endif