[Mplayer-cvslog] CVS: main playtree.c,1.19,1.20

Alban Bedel CVS albeu at mplayerhq.hu
Tue Jul 8 12:45:32 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv15740

Modified Files:
	playtree.c 
Log Message:
Fix -shuffle with remote playlist


Index: playtree.c
===================================================================
RCS file: /cvsroot/mplayer/main/playtree.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- playtree.c	30 Mar 2003 17:09:17 -0000	1.19
+++ playtree.c	8 Jul 2003 10:45:05 -0000	1.20
@@ -397,6 +397,8 @@
 
   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;
 
 }
 



More information about the MPlayer-cvslog mailing list