From 99576ac483c47d66e324f3126ee94ff8a13a2aad Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Sep 2013 16:48:08 +0200 Subject: command: don't append, but prepend deinterlace filter by default In most cases, it's better if deinterlacing happens before any other filtering, so prepend the filter to the user's filter list, instead of appending it. --- mpvcore/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/command.c b/mpvcore/command.c index 4217bd97e0..40a8e8cccc 100644 --- a/mpvcore/command.c +++ b/mpvcore/command.c @@ -1180,7 +1180,7 @@ static void set_deinterlacing(struct MPContext *mpctx, bool enable) if ((get_deinterlacing(mpctx) > 0) != enable) { int arg = enable; if (vf->control(vf, VFCTRL_SET_DEINTERLACE, &arg) != CONTROL_OK) - probe_deint_filters(mpctx, "add"); + probe_deint_filters(mpctx, "pre"); } } mpctx->opts->deinterlace = get_deinterlacing(mpctx) > 0; -- cgit v1.2.3