summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
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) {