diff options
author | 2001-06-13 21:57:36 +0000 | |
---|---|---|
committer | 2001-06-13 21:57:36 +0000 | |
commit | 37eb051e72184a87d14ed8e517baf1229f289a1a (patch) | |
tree | aabc4e9c3d50187ebed3a8a0a0b77ce0a85ab6e0 /mplayer.c | |
parent | fb0361090c9adc209b4bb6aaa2cc69a9455b15ed (diff) |
-frames 0 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1126 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1498,6 +1498,11 @@ total_time_usage_start=GetTimer(); while(!eof){ + if(play_n_frames>=0){ + --play_n_frames; + if(play_n_frames<0) exit_player("Requested number of frames played"); + } + /*========================== PLAY AUDIO ============================*/ //if(!has_audio){ // int playsize=512; @@ -1836,11 +1841,6 @@ switch(sh_video->codec->driver){ current_module=NULL; - if(play_n_frames>=0){ - --play_n_frames; - if(play_n_frames<0) exit_player("Requested number of frames played"); - } - if(eof) break; if(force_redraw){ --force_redraw; |