summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-07-24 19:30:24 +0200
committerwm4 <wm4@nowhere>2014-07-25 14:32:34 +0200
commit08415933db8ede1ec27cb43654bc6fffdbd6ad93 (patch)
treec2a90c140abe6393971f21d16e0ba81966e3fb8a /player
parent623eac2b1b5dc88b91949b2bd88284330d7425a2 (diff)
downloadmpv-08415933db8ede1ec27cb43654bc6fffdbd6ad93.tar.bz2
mpv-08415933db8ede1ec27cb43654bc6fffdbd6ad93.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')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 5e446265ae..2bcb4bcd0c 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3624,7 +3624,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) {