[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.53,1.54

Zoltan Ponekker pontscho at mplayerhq.hu
Wed Apr 17 23:38:23 CEST 2002


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

Modified Files:
	mw.h 
Log Message:
fix dvd pause. 10l

Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- mw.h	17 Apr 2002 21:12:11 -0000	1.53
+++ mw.h	17 Apr 2002 21:38:21 -0000	1.54
@@ -235,12 +235,18 @@
                break;
 #ifdef USE_DVDREAD
           case STREAMTYPE_DVD:
-	       if ( !dvd_device ) dvd_device=DEFAULT_DVD_DEVICE;
-               guiSetFilename( guiIntfStruct.Filename,dvd_device );
-	       dvd_title=guiIntfStruct.DVD.current_title;
-	       dvd_angle=guiIntfStruct.DVD.current_angle;
-               dvd_chapter=guiIntfStruct.DVD.current_chapter;
-               guiIntfStruct.DVDChanged=1;
+	       if ( !dvd_device ) 
+	        {
+	         dvd_device=DEFAULT_DVD_DEVICE;
+                 guiSetFilename( guiIntfStruct.Filename,dvd_device );
+		} 
+	       if ( guiIntfStruct.Playing != 2 )
+	        {
+	         dvd_title=guiIntfStruct.DVD.current_title;
+	         dvd_angle=guiIntfStruct.DVD.current_angle;
+                 dvd_chapter=guiIntfStruct.DVD.current_chapter;
+                 guiIntfStruct.DVDChanged=1;
+		} 
                break;
 #endif
          }




More information about the MPlayer-cvslog mailing list