Mercurial > mplayer.hg
changeset 35425:e9f57004e925
Don't treat STREAMTYPE_VCD differently in uiNext().
There is no difference in selecting the next track
between a CD and VCD, so remove the extra code for VCD.
author | ib |
---|---|
date | Fri, 30 Nov 2012 09:42:23 +0000 |
parents | 7f73ecc9ccda |
children | fb3c60a47b2c |
files | gui/ui/actions.c |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/actions.c Thu Nov 29 17:57:38 2012 +0000 +++ b/gui/ui/actions.c Fri Nov 30 09:42:23 2012 +0000 @@ -332,6 +332,7 @@ switch (guiInfo.StreamType) { case STREAMTYPE_CDDA: + case STREAMTYPE_VCD: if (++guiInfo.Track > guiInfo.Tracks) { guiInfo.Track = guiInfo.Tracks; @@ -340,15 +341,6 @@ break; - case STREAMTYPE_VCD: - - if (++guiInfo.Track >= guiInfo.Tracks) { - stop = (guiInfo.Track > guiInfo.Tracks); - guiInfo.Track = FFMAX(2, guiInfo.Tracks); - } - - break; - case STREAMTYPE_DVD: if (guiInfo.Chapter++ == guiInfo.Chapters) {