From ca89a84e8a4038e0c9633327f9c0251dec6a10d8 Mon Sep 17 00:00:00 2001 From: albeu Date: Tue, 8 Jul 2003 10:45:05 +0000 Subject: [PATCH] Fix -shuffle with remote playlist git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10395 b3059339-0415-0410-9bf9-f77b7e298cf2 --- playtree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playtree.c b/playtree.c index 13f55e272d..a694cf07ec 100644 --- a/playtree.c +++ b/playtree.c @@ -397,6 +397,8 @@ play_tree_set_params_from(play_tree_t* dest,play_tree_t* src) { for(i = 0; src->params[i].name != NULL ; i++) play_tree_set_param(dest,src->params[i].name,src->params[i].value); + if(src->flags & PLAY_TREE_RND) // pass the random flag too + dest->flags |= PLAY_TREE_RND; }