summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
author1nsane000 <33362569+1nsane000@users.noreply.github.com>2024-03-05 02:20:01 +0100
committerPhilip Langdale <github.philipl@overt.org>2024-03-04 17:41:40 -0800
commit38a8e9bcba3bd31ecf5efbeee07c2169f82192d8 (patch)
treec17f5ec8f5c883c2639b12be6f63c8b5d5ea768e /options/options.h
parentc1029aaa820de8193e2a466039d2acccca610fd6 (diff)
downloadmpv-38a8e9bcba3bd31ecf5efbeee07c2169f82192d8.tar.bz2
mpv-38a8e9bcba3bd31ecf5efbeee07c2169f82192d8.tar.xz
options: add --deinterlace-field-parity option
Previously there was no way to specify the field order of interlaced videos when deinterlacing with inbuilt filters. Lavfi deinterlacers seemed to prefer top field order while inbuilt ones (vdpaupp, vavpp, d3d11vpp) seemed to prefer bottom field order. The default "auto" option should work exactly as before while specifying either "tff" or "bff" should force the specified field order
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 9dce3f609c..1b7c3e3583 100644
--- a/options/options.h
+++ b/options/options.h
@@ -399,6 +399,7 @@ struct dvd_opts {
struct filter_opts {
int deinterlace;
+ int field_parity;
};
extern const struct m_sub_options vo_sub_opts;