From 6458a08700a2d6df2e1930dc59c0ace5e5a67164 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger 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/vsynth2/zmbv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ref/vsynth2') diff --git a/tests/ref/vsynth2/zmbv b/tests/ref/vsynth2/zmbv index 4562b5aa57..6d7d6149b2 100644 --- a/tests/ref/vsynth2/zmbv +++ b/tests/ref/vsynth2/zmbv @@ -1,3 +1,3 @@ 5116352 ./tests/data/vsynth2/zmbv.avi -cfbec364e41d70c9b177435b5655d8af *./tests/data/zmbv.vsynth2.out.yuv -stddev: 42.07 PSNR: 15.65 MAXDIFF: 112 bytes: 7603200/ 7603200 +ee68a5292fd0745834246b4ec0d85e9b *./tests/data/zmbv.vsynth2.out.yuv +stddev: 8.12 PSNR: 29.94 MAXDIFF: 32 bytes: 7603200/ 7603200 -- cgit v1.2.3