summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2010-11-04 04:41:11 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-04 05:54:12 +0200
commit952f9b85a7f4d3140dde530585456cd0b42d258a (patch)
tree3ac8069c210a677ac5b00a620e0c1d292a04f251 /mplayer.c
parentbe95d4c131c77192f1033f051563ca2cc20e32b1 (diff)
downloadmpv-952f9b85a7f4d3140dde530585456cd0b42d258a.tar.bz2
mpv-952f9b85a7f4d3140dde530585456cd0b42d258a.tar.xz
options: move -name and -title to option struct
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index ae4671114a..b44e272599 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3541,8 +3541,8 @@ while (player_idle_mode && !mpctx->filename) {
if (mpctx->filename) {
mp_tmsg(MSGT_CPLAYER,MSGL_INFO,"\nPlaying %s.\n",
filename_recode(mpctx->filename));
- if(use_filename_title && vo_wintitle == NULL)
- vo_wintitle = strdup(mp_basename2(mpctx->filename));
+ if(use_filename_title && opts->vo_wintitle == NULL)
+ opts->vo_wintitle = strdup(mp_basename2(mpctx->filename));
}
if (edl_filename) {