changeset 5701:67f0194f3a8c

fix compile bug
author pontscho
date Fri, 19 Apr 2002 10:56:26 +0000
parents b2e0f3b56b7c
children 567de708ab3a
files Gui/mplayer/play.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/play.c	Fri Apr 19 08:04:02 2002 +0000
+++ b/Gui/mplayer/play.c	Fri Apr 19 10:56:26 2002 +0000
@@ -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
   }
 }