summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 2a62ef69c8..71aea336b1 100644
--- a/options/options.c
+++ b/options/options.c
@@ -312,6 +312,8 @@ const m_option_t mp_opts[] = {
// 0 means square pixels
OPT_FLOATRANGE("video-aspect", movie_aspect, 0, -1.0, 10.0),
OPT_FLOAT_STORE("no-video-aspect", movie_aspect, 0, 0.0),
+ OPT_CHOICE("video-aspect-method", aspect_method, 0,
+ ({"hybrid", 0}, {"bitstream", 1}, {"container", 2})),
OPT_CHOICE("field-dominance", field_dominance, 0,
({"auto", -1}, {"top", 0}, {"bottom", 1})),
diff --git a/options/options.h b/options/options.h
index b3d6bb18c2..5cf144a045 100644
--- a/options/options.h
+++ b/options/options.h
@@ -227,6 +227,7 @@ typedef struct MPOpts {
struct m_obj_settings *af_settings, *af_defs;
int deinterlace;
float movie_aspect;
+ int aspect_method;
int field_dominance;
char **sub_name;
char **sub_paths;