diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index bcb9e900de..a941f7af68 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -752,7 +752,7 @@ static struct track *open_external_file(struct MPContext *mpctx, char *filename, if (sh->type == filter) { struct track *t = add_stream_track(mpctx, demuxer, sh, false); t->is_external = true; - t->title = talloc_strdup(t, disp_filename); + t->title = talloc_strdup(t, mp_basename(disp_filename)); t->external_filename = talloc_strdup(t, filename); first = t; } |