summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/sub.c')
-rw-r--r--player/sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/sub.c b/player/sub.c
index 0492be4bc8..c20df53c60 100644
--- a/player/sub.c
+++ b/player/sub.c
@@ -78,7 +78,7 @@ static bool update_subtitle(struct MPContext *mpctx, double video_pts, int order
return true;
if (mpctx->d_video) {
- struct mp_image_params params = mpctx->d_video->vfilter->override_params;
+ struct mp_image_params params = mpctx->d_video->vfilter->input_params;
if (params.imgfmt)
sub_control(dec_sub, SD_CTRL_SET_VIDEO_PARAMS, &params);
}