diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-26 16:11:08 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-26 16:11:08 +0000 |
commit | 0cba7d110b04b0e899968e15e3b2e79b25e833dc (patch) | |
tree | 344286b8f2c109be9ca7415a15e464d8a6bb8963 /mplayer.c | |
parent | 9e4627141721cea66091be08e2ed8a2300d8e888 (diff) | |
download | mpv-0cba7d110b04b0e899968e15e3b2e79b25e833dc.tar.bz2 mpv-0cba7d110b04b0e899968e15e3b2e79b25e833dc.tar.xz |
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>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9106 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1715,6 +1715,9 @@ if(force_fps && sh_video){ //==================== 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(); |