Mercurial > mplayer.hg
comparison mplayer.c @ 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 | d2abcf3b5a94 |
children | ff773800b598 |
comparison
equal
deleted
inserted
replaced
9104:a0aacfb492a5 | 9105:9b387eae87e6 |
---|---|
1713 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_FPSforced,sh_video->fps,sh_video->frametime); | 1713 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_FPSforced,sh_video->fps,sh_video->frametime); |
1714 } | 1714 } |
1715 | 1715 |
1716 //==================== START PLAYING ======================= | 1716 //==================== START PLAYING ======================= |
1717 | 1717 |
1718 if(loop_times>1) loop_times--; else | |
1719 if(loop_times==1) loop_times = -1; | |
1720 | |
1718 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);fflush(stdout); | 1721 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);fflush(stdout); |
1719 | 1722 |
1720 InitTimer(); | 1723 InitTimer(); |
1721 | 1724 |
1722 #ifdef USE_DVDNAV | 1725 #ifdef USE_DVDNAV |