[MPlayer-cvslog] r34161 - in trunk/gui: interface.c win32/interface.c

ib subversion at mplayerhq.hu
Fri Sep 30 16:18:26 CEST 2011


Author: ib
Date: Fri Sep 30 16:18:26 2011
New Revision: 34161

Log:
Remove check for STREAMTYPE_PLAYLIST.

STREAMTYPE_PLAYLIST can't be handled by the GUI.
Replace that by the stream types that can be handled.

Modified:
   trunk/gui/interface.c
   trunk/gui/win32/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Fri Sep 30 00:39:08 2011	(r34160)
+++ trunk/gui/interface.c	Fri Sep 30 16:18:26 2011	(r34161)
@@ -397,7 +397,8 @@ int gui(int what, void *data)
         }
 
         switch (guiInfo.StreamType) {
-        case STREAMTYPE_PLAYLIST:
+        case STREAMTYPE_FILE:
+        case STREAMTYPE_STREAM:
             break;
 
 #ifdef CONFIG_VCD

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Fri Sep 30 00:39:08 2011	(r34160)
+++ trunk/gui/win32/interface.c	Fri Sep 30 16:18:26 2011	(r34161)
@@ -473,7 +473,8 @@ int gui(int what, void *data)
             guiInfo.NewPlay = 0;
             switch(guiInfo.StreamType)
             {
-                case STREAMTYPE_PLAYLIST:
+                case STREAMTYPE_FILE:
+                case STREAMTYPE_STREAM:
                     break;
 #ifdef CONFIG_DVDREAD
                 case STREAMTYPE_DVD:


More information about the MPlayer-cvslog mailing list