summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-02 22:28:11 +0200
committerwm4 <wm4@nowhere>2014-09-02 22:28:11 +0200
commitbf74a4cc4665f152212c0e165bbe2a20d535021c (patch)
treefe0ba754f0525cd3345be86e092d6e471fbdb734 /options/options.c
parent6c1e5285181a0799c689ab71fc703fa67917e303 (diff)
downloadmpv-bf74a4cc4665f152212c0e165bbe2a20d535021c.tar.bz2
mpv-bf74a4cc4665f152212c0e165bbe2a20d535021c.tar.xz
player: add --media-title option
Requested by ChrisK2.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index a0671404e7..2523146feb 100644
--- a/options/options.c
+++ b/options/options.c
@@ -379,6 +379,7 @@ const m_option_t mp_opts[] = {
// vo name (X classname) and window title strings
OPT_STRING("x11-name", vo.winname, 0),
OPT_STRING("title", wintitle, 0),
+ OPT_STRING("media-title", media_title, 0),
// set aspect ratio of monitor - useful for 16:9 TV-out
OPT_FLOATRANGE("monitoraspect", vo.force_monitor_aspect, 0, 0.0, 9.0),
OPT_FLOATRANGE("monitorpixelaspect", vo.monitor_pixel_aspect, 0, 0.2, 9.0),