summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-11 15:51:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-11 15:51:46 +0000
commitdb4662cdd95507f60fcfd0d9fafe9c30ad5c83f0 (patch)
tree7fe796c54be4f3bf197974a1bf45e8326261e48c /mplayer.c
parent06fb756dfb311e6439d72625cf68a7722742c22d (diff)
downloadmpv-db4662cdd95507f60fcfd0d9fafe9c30ad5c83f0.tar.bz2
mpv-db4662cdd95507f60fcfd0d9fafe9c30ad5c83f0.tar.xz
-frames plays one frame too many.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16731 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 95373c89b6..046cdc3039 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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!