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.2.0~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=414b5eaedeb51fc120c43e7bee83f4a813c0ae36;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 d89c0753a..11d80de38 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -2088,6 +2088,7 @@ static void setup_pass(struct stream_state *stream, stream->cx_time = 0; stream->nbytes = 0; + stream->frames_out = 0; }