avconv: fix -frames for video encoders with delay.
authorAnton Khirnov <anton@khirnov.net>
Mon, 2 Jan 2012 08:22:41 +0000 (09:22 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 17 Jan 2012 08:39:32 +0000 (09:39 +0100)
commit999328479305e317d9fdaeae791a60d299986073
treeb4b68d23f18d959c3855cadc705f2f0ac2f988f4
parent9e12002f114d7e0b0ef69519518cdc0391e5e198
avconv: fix -frames for video encoders with delay.

Frames must be counted when they are passed to the encoder, not when
they come out.

Fixes Bug 202.
avconv.c