From 501ec37c99ff3f1a0747ae60cb60220e242daaf8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 1 Feb 2021 17:46:22 +0100 Subject: Use a predictable RNG when adding noise to low-bitrate images. The recovery code assumes that encoding a given frame from the same data will always give the same output; it always encodes frame 0 again to set things up properly and if that frame is a different size to the previous run everything breaks. --- src/lib/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/wscript') diff --git a/src/lib/wscript b/src/lib/wscript index bff3382e0..1b45152a4 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -144,6 +144,7 @@ sources = """ render_text.cc resampler.cc rgba.cc + rng.cc scoped_temporary.cc scp_uploader.cc screen.cc -- cgit v1.2.3