diff options
author | wm4 <wm4@nowhere> | 2015-07-16 22:04:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-16 22:10:08 +0200 |
commit | bb9717a630cd3d1cc0d8aecc03e18c86e49d4d9c (patch) | |
tree | 4423e325b0015f2de42658fe0763ead23a537aea /video/out/vo.c | |
parent | 4730e0aabab1cdb1e08cb0473f4236394d064149 (diff) | |
download | mpv-bb9717a630cd3d1cc0d8aecc03e18c86e49d4d9c.tar.bz2 mpv-bb9717a630cd3d1cc0d8aecc03e18c86e49d4d9c.tar.xz |
vo: fix number of future frames
That was 2 too many.
Also fix a documentation comment.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 94dcabf00e..1db8fa3490 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -977,7 +977,7 @@ int vo_get_num_future_frames(struct vo *vo) { struct vo_internal *in = vo->in; pthread_mutex_lock(&in->lock); - int res = in->req_frames + 1; + int res = in->req_frames - 1; pthread_mutex_unlock(&in->lock); return res; } |