-frames plays one frame too many.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16731 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-10-11 15:51:46 +00:00
parent 06fb756dfb
commit db4662cdd9
1 changed files with 1 additions and 1 deletions

View File

@ -2630,7 +2630,7 @@ if(time_frame>0.001 && !(vo_flags&256)){
if(vo_config_count) video_out->flip_page();
if (play_n_frames >= 0) {
--play_n_frames;
if (play_n_frames < 0) eof = PT_NEXT_ENTRY;
if (play_n_frames <= 0) eof = PT_NEXT_ENTRY;
}
// usec_sleep(50000); // test only!