diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-01 17:05:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-01 17:05:39 +0000 |
commit | d20131defaa7b2c087e03d0b8c763bb22fd335fc (patch) | |
tree | 8ea1613df60350a63b51fbbb2cc1568d172d1bc4 | |
parent | 52ef7eb2635aae55649c384b62e58f0bb98a658f (diff) | |
download | mpv-d20131defaa7b2c087e03d0b8c763bb22fd335fc.tar.bz2 mpv-d20131defaa7b2c087e03d0b8c763bb22fd335fc.tar.xz |
mpctx->playtree is a node, files can not be directly appended to it,
append them to its child instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27681 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2637,7 +2637,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) play_tree_add_file(e, cmd->args[0].v.s); if (cmd->args[1].v.i) // append - play_tree_append_entry(mpctx->playtree, e); + play_tree_append_entry(mpctx->playtree->child, e); else { // Go back to the starting point. while (play_tree_iter_up_step @@ -2659,7 +2659,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd) MSGTR_PlaylistLoadUnable, cmd->args[0].v.s); else { if (cmd->args[1].v.i) // append - play_tree_append_entry(mpctx->playtree, e); + play_tree_append_entry(mpctx->playtree->child, e); else { // Go back to the starting point. while (play_tree_iter_up_step |