Mercurial > mplayer.hg
diff Gui/mplayer/play.c @ 5701:67f0194f3a8c
fix compile bug
author | pontscho |
---|---|
date | Fri, 19 Apr 2002 10:56:26 +0000 |
parents | 436cf6ef67fd |
children | 20c335d98ab3 |
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 } }