Commit 344cb169 authored by Alexander Strange's avatar Alexander Strange Committed by Fiona Glaser
Browse files

Fix noise reduction in threaded mode.

Previously enabling noise reduction with threads had no effect.
Note that this is not an optimal solution; each thread still tracks noise reducation separately (unlike in single-threaded mode).
parent 708b9862
......@@ -1602,7 +1602,7 @@ static void x264_encoder_frame_end( x264_t *h, x264_t *thread_current,
/* restore CPU state (before using float again) */
x264_noise_reduction_update( h );
x264_noise_reduction_update( thread_current );
/* ---------------------- Compute/Print statistics --------------------- */
x264_thread_sync_stat( h, h->thread[0] );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment