diff options
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/player/video.c b/player/video.c index ee0e89c93a..eecfea5482 100644 --- a/player/video.c +++ b/player/video.c @@ -189,7 +189,8 @@ static int probe_deint_filters(struct vo_chain *vo_c) if (check_output_format(vo_c, IMGFMT_D3D11VA) || check_output_format(vo_c, IMGFMT_D3D11NV12)) return try_filter(vo_c, "d3d11vpp", VF_DEINTERLACE_LABEL, NULL); - return try_filter(vo_c, "yadif", VF_DEINTERLACE_LABEL, NULL); + char *args[] = {"warn", "no", NULL}; + return try_filter(vo_c, "yadif", VF_DEINTERLACE_LABEL, args); } // Reconfigure the filter chain according to the new input format. @@ -220,7 +221,7 @@ static void filter_reconfig(struct MPContext *mpctx, struct vo_chain *vo_c) if (params.rotate) { if (!(vo_c->vo->driver->caps & VO_CAP_ROTATE90) || params.rotate % 90) { // Try to insert a rotation filter. - char *args[] = {"angle", "auto", NULL}; + char *args[] = {"angle", "auto", "warn", "no", NULL}; if (try_filter(vo_c, "rotate", "autorotate", args) < 0) MP_ERR(vo_c, "Can't insert rotation filter.\n"); } @@ -231,7 +232,7 @@ static void filter_reconfig(struct MPContext *mpctx, struct vo_chain *vo_c) { char *to = (char *)MP_STEREO3D_NAME(params.stereo_out); if (to) { - char *args[] = {"in", "auto", "out", to, NULL, NULL}; + char *args[] = {"in", "auto", "out", to, "warn", "no", NULL, NULL}; if (try_filter(vo_c, "stereo3d", "autostereo3d", args) < 0) MP_ERR(vo_c, "Can't insert 3D conversion filter.\n"); } |