1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00

-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

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!