changeset 9105:9b387eae87e6

Secondly, fixed bug where -loop after file would play one too many times. I've just added a couple of if's in mplayer.c before it starts play (to make sure its after all the config stuff). patch by Alex Sisson <alex_sisson@yahoo.co.uk>
author arpi
date Sun, 26 Jan 2003 16:11:08 +0000
parents a0aacfb492a5
children 2c1aee5bb754
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Jan 26 16:03:16 2003 +0000
+++ b/mplayer.c	Sun Jan 26 16:11:08 2003 +0000
@@ -1715,6 +1715,9 @@
 
 //==================== START PLAYING =======================
 
+if(loop_times>1) loop_times--; else
+if(loop_times==1) loop_times = -1;
+
 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);fflush(stdout);
 
 InitTimer();