summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-02 18:32:07 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-02 18:32:07 +0000
commit240b743ebdfde9bfb9bbe311de9ab6afe9378cff (patch)
tree5bf5ec5eb6ae0e922b0b1c4856a2d11da255901d /cfg-common.h
parent3ddab299bfe75ee3ae81e026adb2920970e50d56 (diff)
downloadmpv-240b743ebdfde9bfb9bbe311de9ab6afe9378cff.tar.bz2
mpv-240b743ebdfde9bfb9bbe311de9ab6afe9378cff.tar.xz
Add global field dominance flag instead of duplicating this "everywhere"
Patch by Carl Eugen Hoyos (cehoyos (at) ag or at) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22104 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 21324490f8..caf7248fd2 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -241,6 +241,7 @@
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
{"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"field-dominance", &field_dominance, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL},
#ifdef USE_LIBAVCODEC
{"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
@@ -350,6 +351,9 @@ extern int divx_quality;
/* defined in codec-cfg.c */
extern char * codecs_file;
+/* defined in dec_video.c */
+extern int field_dominance;
+
/* from dec_audio, currently used for ac3surround decoder only */
extern int audio_output_channels;