Mercurial > mplayer.hg
diff Gui/win32/interface.c @ 21897:c885b979fda3
proper fix for avoiding file skipping when mplayer is already playing a file.
author | vayne |
---|---|
date | Sat, 13 Jan 2007 21:20:47 +0000 |
parents | 68a43757356d |
children | 9f5657a1dbf7 |
line wrap: on
line diff
--- a/Gui/win32/interface.c Sat Jan 13 12:56:42 2007 +0000 +++ b/Gui/win32/interface.c Sat Jan 13 21:20:47 2007 +0000 @@ -280,6 +280,7 @@ mplSetFileName(NULL, filename, STREAMTYPE_FILE); guiIntfStruct.FilenameChanged = guiIntfStruct.NewPlay = 1; update_playlistwindow(); + mplGotoTheNext = guiIntfStruct.Playing? 0 : 1; guiGetEvent(guiCEvent, (void *) guiSetStop); guiGetEvent(guiCEvent, (void *) guiSetPlay); break;