Merge commit 'c8e135ea9225137050a6315fd9ba9c0f242c90b6'
[ffmpeg.git] / libavdevice / caca.c
index 93cc0ff..47de824 100644 (file)
@@ -178,7 +178,7 @@ static int caca_write_header(AVFormatContext *s)
     }
 
     if (!c->window_title)
-        c->window_title = av_strdup(s->filename);
+        c->window_title = av_strdup(s->url);
     caca_set_display_title(c->display, c->window_title);
     caca_set_display_time(c->display, av_rescale_q(1, st->codec->time_base, AV_TIME_BASE_Q));