summaryrefslogtreecommitdiff
path: root/src/lib/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-01 17:46:22 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-01 23:44:36 +0100
commit49b655d3e1937018c46ed7f6a62e1157b247e426 (patch)
tree45b4b6562e2575a458da5fef8a38af1437458ab6 /src/lib/wscript
parente50967fb2b67b76e139f11206994bc0505cab76c (diff)
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.
Diffstat (limited to 'src/lib/wscript')
-rw-r--r--src/lib/wscript1
1 files changed, 1 insertions, 0 deletions
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