Mercurial > mplayer.hg
changeset 27649:1eee249e519d
mpctx->playtree is a node, files can not be directly appended to it,
append them to its child instead.
author | reimar |
---|---|
date | Wed, 01 Oct 2008 17:05:39 +0000 |
parents | 427fec163870 |
children | 99838ea34e55 |
files | command.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/command.c Wed Oct 01 17:05:30 2008 +0000 +++ b/command.c Wed Oct 01 17:05:39 2008 +0000 @@ -2637,7 +2637,7 @@ 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 @@ 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