// With row based multi-threading, the following speed features
// have to be disabled to guarantee that bitstreams encoded with single thread
- // and multiple threads match
- if (cpi->row_mt_bit_exact) sf->adaptive_rd_thresh = 0;
+ // and multiple threads match.
+ // It can be used since adaptive_rd_thresh is defined per-row for REALTIME.
+ if (oxcf->mode != REALTIME && cpi->row_mt_bit_exact)
+ sf->adaptive_rd_thresh = 0;
// This is only used in motion vector unit test.
if (cpi->oxcf.motion_vector_unit_test == 1)
// With row based multi-threading, the following speed features
// have to be disabled to guarantee that bitstreams encoded with single thread
- // and multiple threads match
- if (cpi->row_mt_bit_exact) sf->adaptive_rd_thresh = 0;
+ // and multiple threads match.
+ // It can be used since adaptive_rd_thresh is defined per-row for REALTIME.
+ if (oxcf->mode != REALTIME && cpi->row_mt_bit_exact)
+ sf->adaptive_rd_thresh = 0;
// This is only used in motion vector unit test.
if (cpi->oxcf.motion_vector_unit_test == 1)