summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-07-24 19:30:24 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-07-26 11:55:02 +0200
commitd50be0a2a61a247faa10e18d9881c7837d72b3cd (patch)
treecaff05851670d558834aa7823fe2d4e85f243bd1 /player/command.c
parent2d8e26bb72d8b1645f98979f2715e1a12e9d1ab5 (diff)
downloadmpv-d50be0a2a61a247faa10e18d9881c7837d72b3cd.tar.bz2
mpv-d50be0a2a61a247faa10e18d9881c7837d72b3cd.tar.xz
command: append entries to the end of the playlist with loadlist append
Currently entries are added after the current playlist element. This is kinda confusing, more so given that "loadfile append" appends at the end of the playlist.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 7282eb30fd..1c061c4d14 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3577,7 +3577,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
if (pl) {
if (!append)
playlist_clear(mpctx->playlist);
- playlist_transfer_entries(mpctx->playlist, pl);
+ playlist_append_entries(mpctx->playlist, pl);
talloc_free(pl);
if (!append && mpctx->playlist->first) {