diff options
author | wm4 <wm4@nowhere> | 2014-09-02 22:28:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-02 22:28:11 +0200 |
commit | bf74a4cc4665f152212c0e165bbe2a20d535021c (patch) | |
tree | fe0ba754f0525cd3345be86e092d6e471fbdb734 /options | |
parent | 6c1e5285181a0799c689ab71fc703fa67917e303 (diff) | |
download | mpv-bf74a4cc4665f152212c0e165bbe2a20d535021c.tar.bz2 mpv-bf74a4cc4665f152212c0e165bbe2a20d535021c.tar.xz |
player: add --media-title option
Requested by ChrisK2.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 1 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 2 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), diff --git a/options/options.h b/options/options.h index c8a24de372..b1a7ec0952 100644 --- a/options/options.h +++ b/options/options.h @@ -79,6 +79,7 @@ typedef struct MPOpts { int allow_win_drag; char *wintitle; + char *media_title; int force_rgba_osd; // ranges -100 - 100, 1000 if the vo default should be used |