[FFmpeg-devel] [patch] testsrc creates one frame too many

Michael Niedermayer michaelni at gmx.at
Tue Oct 25 18:23:59 CEST 2011

On Tue, Oct 25, 2011 at 03:49:00PM +0100, Mark Himsley wrote:
> Without the attached patch the following command creates 26 frames.
> With the attached patch the following command creates 25 frames.
> ./ffmpeg -f lavfi -graph
> "testsrc=size=1920x1080:rate=25:duration=1.0 [out]" -i dummy
> -pix_fmt yuv422p -f rawvideo -y /dev/null

there are several ways to solve this i think, stefano are you ok with
this patch?, it looks ok to me ...


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111025/59a015e9/attachment.asc>

More information about the ffmpeg-devel mailing list