From ecddf9d3e09cb161cd2ce920f7de956e8ebeaf0b Mon Sep 17 00:00:00 2001 From: henry Date: Fri, 13 May 2005 14:45:28 +0000 Subject: [PATCH] fix the range and type of -tv immediatemode option git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15436 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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},