summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2010-11-04 04:41:11 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-04 05:54:12 +0200
commit952f9b85a7f4d3140dde530585456cd0b42d258a (patch)
tree3ac8069c210a677ac5b00a620e0c1d292a04f251 /cfg-mplayer.h
parentbe95d4c131c77192f1033f051563ca2cc20e32b1 (diff)
downloadmpv-952f9b85a7f4d3140dde530585456cd0b42d258a.tar.bz2
mpv-952f9b85a7f4d3140dde530585456cd0b42d258a.tar.xz
options: move -name and -title to option struct
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index ba2a912ded..54282f3f4a 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -159,8 +159,8 @@ const m_option_t mplayer_opts[]={
OPT_FLAG_ON("force-window-position", force_window_position, 0),
OPT_FLAG_OFF("noforce-window-position", force_window_position, 0),
// vo name (X classname) and window title strings
- {"name", &vo_winname, CONF_TYPE_STRING, 0, 0, 0, NULL},
- {"title", &vo_wintitle, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ OPT_STRING("name", vo_winname, 0),
+ OPT_STRING("title", vo_wintitle, 0),
// set aspect ratio of monitor - useful for 16:9 TV-out
OPT_FLOATRANGE("monitoraspect", force_monitor_aspect, 0, 0.0, 9.0),
OPT_FLOATRANGE("monitorpixelaspect", monitor_pixel_aspect, 0, 0.2, 9.0),