From 6458a08700a2d6df2e1930dc59c0ace5e5a67164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 8 Apr 2012 15:11:13 +0200 Subject: vf_scale: ensure the palette is set for output. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since those are pseudo-palette formats, swscale does not write into data[1], swscale must initialize the palette properly itself. This lead to frames that actually decoded as all-gray before. Signed-off-by: Reimar Döffinger --- tests/ref/vsynth1/zmbv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ref/vsynth1') diff --git a/tests/ref/vsynth1/zmbv b/tests/ref/vsynth1/zmbv index 8e01707..e49cb26 100644 --- a/tests/ref/vsynth1/zmbv +++ b/tests/ref/vsynth1/zmbv @@ -1,3 +1,3 @@ 5112508 ./tests/data/vsynth1/zmbv.avi -cfbec364e41d70c9b177435b5655d8af *./tests/data/zmbv.vsynth1.out.yuv -stddev: 46.47 PSNR: 14.79 MAXDIFF: 129 bytes: 7603200/ 7603200 +4ad1ca9de7c65eab68a619c54fffaec8 *./tests/data/zmbv.vsynth1.out.yuv +stddev: 8.61 PSNR: 29.43 MAXDIFF: 64 bytes: 7603200/ 7603200 -- cgit v1.1