[MPlayer-cvslog] r27681 - trunk/command.c
reimar
subversion at mplayerhq.hu
Wed Oct 1 19:05:39 CEST 2008
Author: reimar
Date: Wed Oct 1 19:05:39 2008
New Revision: 27681
Log:
mpctx->playtree is a node, files can not be directly appended to it,
append them to its child instead.
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Wed Oct 1 19:05:39 2008
@@ -2637,7 +2637,7 @@ int run_command(MPContext * mpctx, mp_cm
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_cm
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
More information about the MPlayer-cvslog
mailing list