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.
This commit is contained in:
wm4 2013-09-20 16:48:08 +02:00
parent d5a3739105
commit 99576ac483
1 changed files with 1 additions and 1 deletions

View File

@ -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;