[FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Fri Jan 29 05:52:42 CET 2010
Stefano Sabatini wrote:
> Hi all,
> this is meant to simplify the testing/debuggin work in lsws, and
> provide a basis for a future lswstest rule, often it happens that I
> need to test/debug only a particular conversion, I was using the scale
> lavfi filter for this but it is way easier this way.
> I expected the new result to be different from the old one as the
> random source is different,
This is easy to work-around, just re-init LFG fo every format pair in
the unpatched swscale-test and it should give the same results.
> but I noted that the new result is almost
> always *worse* than the old one (that is the output obtained with
> the old swscale-test), can someone explain?
Have you tried running twice with exactly the same binary to see if
there is nothing reading uninitialized mem?
More information about the ffmpeg-devel