mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 19:22:11 +00:00
fix compile bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5702 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cdb6fb79d6
commit
d4731081be
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user