diff options
author | wm4 <wm4@nowhere> | 2013-09-20 16:48:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-20 16:48:08 +0200 |
commit | 99576ac483c47d66e324f3126ee94ff8a13a2aad (patch) | |
tree | 492df64d11c7de465554610fb5887d608da46cc8 /mpvcore | |
parent | d5a37391051eb170bceb54d8d3ba84a529ff529a (diff) | |
download | mpv-99576ac483c47d66e324f3126ee94ff8a13a2aad.tar.bz2 mpv-99576ac483c47d66e324f3126ee94ff8a13a2aad.tar.xz |
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.
Diffstat (limited to 'mpvcore')
-rw-r--r-- | mpvcore/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |