summaryrefslogtreecommitdiffstats
path: root/defaultopts.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-02 02:36:26 +0200
committerwm4 <wm4@nowhere>2012-08-02 02:37:00 +0200
commitd5315a678ea93110f8bde10fe83eca64202988d1 (patch)
tree9f6212fb1192ef42658a98c31f746cbf28af054e /defaultopts.c
parentc7a15ed0ddf56b80a962a6aeb5da7981472ceaf2 (diff)
downloadmpv-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.c1
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,