summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r--Gui/mplayer/play.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index d0b88fc1cf..2c547a44a8 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -102,11 +102,14 @@ void mplEnd( void )
}
else
{
- if ( mplMainAutoPlay ) { mplMainAutoPlay=0; return; }
+ if ( guiIntfStruct.FilenameChanged ) return;
guiIntfStruct.TimeSec=0;
guiIntfStruct.Position=0;
guiIntfStruct.AudioType=0;
+ guiIntfStruct.DVD.current_title=1;
+ guiIntfStruct.DVD.current_chapter=1;
+ guiIntfStruct.DVD.current_angle=1;
if ( !appMPlayer.subWindow.isFullScreen )
{