mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 14:56:55 +00:00
-frames 0 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1126 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fb0361090c
commit
37eb051e72
10
mplayer.c
10
mplayer.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user