]> granicus.if.org Git - libvpx/commit
Prevent data race from low-pass filter.
authorPeter Boström <pbos@google.com>
Thu, 31 Aug 2017 21:33:59 +0000 (14:33 -0700)
committerPeter Boström <pbos@google.com>
Fri, 1 Sep 2017 01:37:55 +0000 (18:37 -0700)
commit9ab4d9df387d3dd3881fae4d7af6215f37e3c9b8
tree46dda004f92f048627b3613ce90744dd76e131f1
parent03191f738ebffc41495f2a2d0585bb77104e10dc
Prevent data race from low-pass filter.

Makes main thread wait for the filter level to be picked to avoid a race
between the LPF thread and update_reference_frames(). This also
re-enables the failing tests under thread_sanitizer where this data race
was detected.

BUG=webm:1460

Change-Id: I7f5797142ea0200394309842ce3e91a480be4fbc
test/datarate_test.cc
vp8/encoder/onyx_if.c