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 /libvo/video_out.h | |
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 'libvo/video_out.h')
-rw-r--r-- | libvo/video_out.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h index e9d9e69202..3fcb420d2a 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -293,6 +293,8 @@ struct vo { int scrh; // vertical resolution float asp; } aspdat; + + char *window_title; }; struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11, |