From: Adrian Grange Date: Fri, 27 Apr 2012 18:06:14 +0000 (-0700) Subject: Reset output frames counter for second pass X-Git-Tag: v1.1.0~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faed00d84480b2a2a64008d2bc5e43d09f48bf03;p=libvpx Reset output frames counter for second pass The frame counter was not being reset at the start of the first pass. Change-Id: I2ef7c6edf027e43f83f470c52cbcf95bf152e430 --- 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; }