diff options
author | wm4 <wm4@nowhere> | 2014-12-10 17:51:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-10 17:51:45 +0100 |
commit | ccd4a732ab846fde583b3a8d10a8d84e7d791368 (patch) | |
tree | 9e5f65c30e01e56b474ce650f3496a40490c1884 /options | |
parent | d1aabb6316fd831d41da9c4b9d37048c7008e037 (diff) | |
download | mpv-ccd4a732ab846fde583b3a8d10a8d84e7d791368.tar.bz2 mpv-ccd4a732ab846fde583b3a8d10a8d84e7d791368.tar.xz |
player: set a specific window title in idle mode
Instead of "(unavailable)".
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index 81a13efc94..e4e050af5f 100644 --- a/options/options.c +++ b/options/options.c @@ -601,7 +601,7 @@ const struct MPOpts mp_default_opts = { .WinID = -1, }, .allow_win_drag = 1, - .wintitle = "mpv - ${media-title}", + .wintitle = "mpv - ${?media-title:${media-title}}${!media-title:No file.}", .heartbeat_interval = 30.0, .stop_screensaver = 1, .cursor_autohide_delay = 1000, |