[MPlayer-cvslog] r34157 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Thu Sep 29 15:58:58 CEST 2011


Author: ib
Date: Thu Sep 29 15:58:57 2011
New Revision: 34157

Log:
Change handling for option "enqueue" in guiPlaylistInitialize().

Since filename has already been set, only the case "enqueue != 0"
must be handled.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Sep 29 15:52:19 2011	(r34156)
+++ trunk/gui/interface.c	Thu Sep 29 15:58:57 2011	(r34157)
@@ -868,11 +868,8 @@ int guiPlaylistInitialize(play_tree_t *m
     uiCurr();   // update filename
     uiGotoTheNext = 1;
 
-    if (!enqueue)
-        filename = guiInfo.Filename;             // Backward compatibility; if file is specified on commandline,
-                                                 // gmplayer does directly start in Play-Mode.
-    else
-        filename = NULL;
+    if (enqueue)
+        filename = NULL;            // don't start playing
 
     return result;
 }


More information about the MPlayer-cvslog mailing list