summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-13 14:45:28 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-13 14:45:28 +0000
commitecddf9d3e09cb161cd2ce920f7de956e8ebeaf0b (patch)
tree7591f65669b33ba2c661e4ee80031e7f5d2973a0 /cfg-common.h
parent262e54b73f50fcd84fda26c92098c18c51bf8c99 (diff)
downloadmpv-ecddf9d3e09cb161cd2ce920f7de956e8ebeaf0b.tar.bz2
mpv-ecddf9d3e09cb161cd2ce920f7de956e8ebeaf0b.tar.xz
fix the range and type of -tv immediatemode option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15436 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 50849d277c..0636239541 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -348,7 +348,7 @@ extern char* edl_output_filename;
#ifdef USE_TV
m_option_t tvopts_conf[]={
{"on", "-tv on is deprecated, use tv:// instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
- {"immediatemode", &tv_param_immediate, CONF_TYPE_FLAG, 0, 0, 0, NULL},
+ {"immediatemode", &tv_param_immediate, CONF_TYPE_INT, CONF_RANGE, 0, 1, NULL},
{"noaudio", &tv_param_noaudio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"audiorate", &tv_param_audiorate, CONF_TYPE_INT, 0, 0, 0, NULL},
{"driver", &tv_param_driver, CONF_TYPE_STRING, 0, 0, 0, NULL},