Mercurial > mplayer.hg
changeset 35467:364387ae95f4
Fix bug with stop button and playlist.
Although the current file was stopped and its information still
displayed, play would skip to next file in list. Now, the file
stopped can be resumed.
author | ib |
---|---|
date | Sun, 02 Dec 2012 15:56:19 +0000 |
parents | 0583b12e11d7 |
children | 047fc4746236 |
files | gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Sun Dec 02 15:55:01 2012 +0000 +++ b/gui/interface.c Sun Dec 02 15:56:19 2012 +0000 @@ -328,7 +328,7 @@ #ifdef CONFIG_DVDREAD dvd_priv_t *dvd; #endif - plItem *next; + plItem *next = NULL; int msg, state; if (guiInfo.mpcontext) @@ -788,6 +788,7 @@ break; } + if (guiInfo.Playing) next = listMgr(PLAYLIST_ITEM_GET_NEXT, 0); if (guiInfo.Playing && next) {