summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-19 10:56:26 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-19 10:56:26 +0000
commitd4731081be03a7799c5ebaef7a9026bb1b6a53d8 (patch)
treee845f05456ed30b564c7c1edbb53c671420f4a58 /Gui
parentcdb6fb79d67783aeb9955a60af8e89ebe7d380cc (diff)
downloadmpv-d4731081be03a7799c5ebaef7a9026bb1b6a53d8.tar.bz2
mpv-d4731081be03a7799c5ebaef7a9026bb1b6a53d8.tar.xz
fix compile bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5702 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/play.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index e8fde2379b..5a05750263 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -223,6 +223,7 @@ void mplPrev( void )
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 @@ void mplPrev( void )
if ( stop ) mplEventHandling( evStop,0 );
if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 );
break;
+#endif
}
}
@@ -243,6 +245,7 @@ void mplNext( void )
switch ( guiIntfStruct.StreamType )
{
// case STREAMTYPE_FILE:
+#ifdef USE_DVDREAD
case STREAMTYPE_DVD:
if ( guiIntfStruct.DVD.current_chapter++ == guiIntfStruct.DVD.chapters )
{
@@ -253,5 +256,6 @@ void mplNext( void )
if ( stop ) mplEventHandling( evStop,0 );
if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 );
break;
+#endif
}
}