[MPlayer-cvslog] r35520 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Fri Nov 30 10:48:54 CET 2012
Author: ib
Date: Fri Nov 30 10:48:54 2012
New Revision: 35520
Log:
Cosmetic: Prettify uiPrev().
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Fri Nov 30 10:42:23 2012 (r35519)
+++ trunk/gui/ui/actions.c Fri Nov 30 10:48:54 2012 (r35520)
@@ -267,25 +267,29 @@ void uiCurr(void)
void uiPrev(void)
{
- plItem *prev;
int stop = 0;
+ plItem *prev;
if (guiInfo.Playing == GUI_PAUSE)
return;
switch (guiInfo.StreamType) {
case STREAMTYPE_CDDA:
+
if (--guiInfo.Track == 0) {
guiInfo.Track = 1;
stop = 1;
}
+
break;
case STREAMTYPE_VCD:
+
if (--guiInfo.Track == 1) {
guiInfo.Track = 2;
stop = 1;
}
+
break;
case STREAMTYPE_DVD:
More information about the MPlayer-cvslog
mailing list