summaryrefslogtreecommitdiff
path: root/vpxenc.c
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2012-04-27 11:06:14 -0700
committerJohn Koleszar <jkoleszar@google.com>2012-04-27 15:14:50 -0700
commitfaed00d84480b2a2a64008d2bc5e43d09f48bf03 (patch)
tree338a94943a9acfd185c7b11b1a96ff2c2d384ceb /vpxenc.c
parent60b36abf854f906577ed500e9895b4a239f56794 (diff)
downloadlibvpx-faed00d84480b2a2a64008d2bc5e43d09f48bf03.tar
libvpx-faed00d84480b2a2a64008d2bc5e43d09f48bf03.tar.gz
libvpx-faed00d84480b2a2a64008d2bc5e43d09f48bf03.tar.bz2
libvpx-faed00d84480b2a2a64008d2bc5e43d09f48bf03.zip
Reset output frames counter for second pass
The frame counter was not being reset at the start of the first pass. Change-Id: I2ef7c6edf027e43f83f470c52cbcf95bf152e430
Diffstat (limited to 'vpxenc.c')
-rw-r--r--vpxenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpxenc.c b/vpxenc.c
index 059cdd596..d32b21b53 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2128,6 +2128,7 @@ static void setup_pass(struct stream_state *stream,
stream->cx_time = 0;
stream->nbytes = 0;
+ stream->frames_out = 0;
}