diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-01 17:46:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-01 17:46:22 +0100 |
| commit | 501ec37c99ff3f1a0747ae60cb60220e242daaf8 (patch) | |
| tree | e278e7da30db43a7d14909d2571987dc70077a69 /src/lib/wscript | |
| parent | e50967fb2b67b76e139f11206994bc0505cab76c (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/wscript | 1 |
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 |
