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

ib subversion at mplayerhq.hu
Thu Jan 5 15:26:22 CET 2012


Author: ib
Date: Thu Jan  5 15:26:21 2012
New Revision: 34512

Log:
Explicitly enumerate all stream types.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Jan  5 14:55:03 2012	(r34511)
+++ trunk/gui/interface.c	Thu Jan  5 15:26:21 2012	(r34512)
@@ -627,6 +627,10 @@ int gui(int what, void *data)
         guiInfo.StreamType = stream->type;
 
         switch (guiInfo.StreamType) {
+        case STREAMTYPE_FILE:
+        case STREAMTYPE_STREAM:
+            break;
+
 #ifdef CONFIG_CDDA
         case STREAMTYPE_CDDA:
             guiInfo.Tracks = 0;
@@ -659,9 +663,6 @@ int gui(int what, void *data)
             guiInfo.Angle   = dvd_angle + 1;
             break;
 #endif
-
-        default:
-            break;
         }
 
         break;


More information about the MPlayer-cvslog mailing list