diff options
author | wm4 <wm4@nowhere> | 2012-08-02 02:36:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-02 02:37:00 +0200 |
commit | d5315a678ea93110f8bde10fe83eca64202988d1 (patch) | |
tree | 9f6212fb1192ef42658a98c31f746cbf28af054e /defaultopts.c | |
parent | c7a15ed0ddf56b80a962a6aeb5da7981472ceaf2 (diff) | |
download | mpv-d5315a678ea93110f8bde10fe83eca64202988d1.tar.bz2 mpv-d5315a678ea93110f8bde10fe83eca64202988d1.tar.xz |
mplayer: expand --title as property, remove --use-filename-title
The --title option, which sets the GUI window caption, is now expanded
as slave mode property string (like osd_show_property_text). Make the
default value for --title include the filename. This makes a behavior
similar to --use-filename-title the default.
Remove the --use-filename-title option, as it's redundant now.
Diffstat (limited to 'defaultopts.c')
-rw-r--r-- | defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defaultopts.c b/defaultopts.c index 261c84bcba..96768f605a 100644 --- a/defaultopts.c +++ b/defaultopts.c @@ -13,6 +13,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .softvol = 1, .softvol_max = 200, .ao_buffersize = -1, + .vo_wintitle = "mplayer - ${filename}", .monitor_pixel_aspect = 1.0, .vo_panscanrange = 1.0, .cursor_autohide_delay = 1000, |