# HG changeset patch # User arpi # Date 1043597468 0 # Node ID 9b387eae87e63be1bd8a40b00ae6b3fff33d2830 # Parent a0aacfb492a5fc88535ced805f275d70e2ef4631 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 diff -r a0aacfb492a5 -r 9b387eae87e6 mplayer.c --- 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();