summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-13 18:56:29 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-13 18:56:29 +0000
commit5975cc9bbf2fcf5fe72eb0b68a8f0646dc3381c4 (patch)
tree7b62afa9f4c4e1a8f65c5d4f67994f5976959514 /cfg-common.h
parent9cc5a0f4abbdf452e46e9ad07bb12ccc09495a77 (diff)
downloadmpv-5975cc9bbf2fcf5fe72eb0b68a8f0646dc3381c4.tar.bz2
mpv-5975cc9bbf2fcf5fe72eb0b68a8f0646dc3381c4.tar.xz
Settled to CONF_TYPE_IMGFMT which simplified lot of things. Now there's no need to add new img formats to the source, instead you can try it out by providing it in hexa format, and if it isn't supported by the card, you get a nice error message. That's all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10599 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 bf08ada5aa..5457506295 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -302,7 +302,7 @@ m_option_t tvopts_conf[]={
{"width", &tv_param_width, CONF_TYPE_INT, 0, 0, 4096, NULL},
{"height", &tv_param_height, CONF_TYPE_INT, 0, 0, 4096, NULL},
{"input", &tv_param_input, CONF_TYPE_INT, 0, 0, 20, NULL},
- {"outfmt", &tv_param_outfmt, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"outfmt", &tv_param_outfmt, CONF_TYPE_IMGFMT, 0, 0, 0, NULL},
{"fps", &tv_param_fps, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
{"channels", &tv_param_channels, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
{"brightness", &tv_param_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},