diff options
Diffstat (limited to 'player/sub.c')
-rw-r--r-- | player/sub.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/player/sub.c b/player/sub.c index 0de02ea61b..2d644e3e00 100644 --- a/player/sub.c +++ b/player/sub.c @@ -34,7 +34,6 @@ #include "demux/demux.h" #include "video/mp_image.h" #include "video/decode/dec_video.h" -#include "video/filter/vf.h" #include "core.h" @@ -90,7 +89,7 @@ static bool update_subtitle(struct MPContext *mpctx, double video_pts, return true; if (mpctx->vo_chain) { - struct mp_image_params params = mpctx->vo_chain->vf->input_params; + struct mp_image_params params = mpctx->vo_chain->filter->input_params; if (params.imgfmt) sub_control(dec_sub, SD_CTRL_SET_VIDEO_PARAMS, ¶ms); } |