summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/video.c')
-rw-r--r--mpvcore/player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/video.c b/mpvcore/player/video.c
index a6e9f8aecb..8f57bd97ad 100644
--- a/mpvcore/player/video.c
+++ b/mpvcore/player/video.c
@@ -44,7 +44,7 @@
void update_fps(struct MPContext *mpctx)
{
-#ifdef CONFIG_ENCODING
+#if HAVE_ENCODING
struct sh_video *sh_video = mpctx->sh_video;
if (mpctx->encode_lavc_ctx && sh_video)
encode_lavc_set_video_fps(mpctx->encode_lavc_ctx, sh_video->fps);