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

ib subversion at mplayerhq.hu
Mon Dec 10 12:30:54 CET 2012


Author: ib
Date: Mon Dec 10 12:30:54 2012
New Revision: 35650

Log:
Change internal automatic audio CD track advancing.

Don't call uiNext() if not playing.
(Though it won't hurt calling it, it changes the track number.)

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Dec 10 03:27:55 2012	(r35649)
+++ trunk/gui/interface.c	Mon Dec 10 12:30:54 2012	(r35650)
@@ -817,11 +817,9 @@ int gui(int what, void *data)
             break;
         }
 
-        if (guiInfo.StreamType == STREAMTYPE_CDDA) {
+        if ((guiInfo.StreamType == STREAMTYPE_CDDA) && guiInfo.Playing) {
             uiNext();
-
-            if (guiInfo.Playing)
-                break;
+            break;
         }
 
         if (guiInfo.Playing)


More information about the MPlayer-cvslog mailing list