[Mplayer-cvslog] CVS: main/Gui/mplayer play.c,1.55,1.56
Zoltan Ponekker
pontscho at mplayerhq.hu
Fri Apr 19 12:56:37 CEST 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv29376/Gui/mplayer
Modified Files:
play.c
Log Message:
fix compile bug
Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- play.c 18 Apr 2002 21:24:34 -0000 1.55
+++ play.c 19 Apr 2002 10:56:26 -0000 1.56
@@ -223,6 +223,7 @@
switch ( guiIntfStruct.StreamType )
{
// case STREAMTYPE_FILE:
+#ifdef USE_DVDREAD
case STREAMTYPE_DVD:
if ( guiIntfStruct.Playing == 2 ) break;
if ( --guiIntfStruct.DVD.current_chapter == 0 )
@@ -234,6 +235,7 @@
if ( stop ) mplEventHandling( evStop,0 );
if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 );
break;
+#endif
}
}
@@ -243,6 +245,7 @@
switch ( guiIntfStruct.StreamType )
{
// case STREAMTYPE_FILE:
+#ifdef USE_DVDREAD
case STREAMTYPE_DVD:
if ( guiIntfStruct.DVD.current_chapter++ == guiIntfStruct.DVD.chapters )
{
@@ -253,5 +256,6 @@
if ( stop ) mplEventHandling( evStop,0 );
if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 );
break;
+#endif
}
}
More information about the MPlayer-cvslog
mailing list