Mercurial > mplayer.hg
changeset 35570:ca631388b039
Fix condition in uiNext().
Chapters might be set temporarily to zero in stop mode if chapters
information isn't yet available. This must not allow Chapter increasing.
author | ib |
---|---|
date | Tue, 11 Dec 2012 13:44:31 +0000 |
parents | 8381468bb46c |
children | 29761b2b8cb0 |
files | gui/ui/actions.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/actions.c Tue Dec 11 13:42:06 2012 +0000 +++ b/gui/ui/actions.c Tue Dec 11 13:44:31 2012 +0000 @@ -441,7 +441,7 @@ case STREAMTYPE_DVD: - if (guiInfo.Chapter++ == guiInfo.Chapters) { + if (guiInfo.Chapter++ >= guiInfo.Chapters) { guiInfo.Chapter = 1; if (++guiInfo.Track > guiInfo.Tracks) {