mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
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:
parent
d5a3739105
commit
99576ac483
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user