summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
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),