Commit 819c5b36 authored by Marco's avatar Marco

Remove the speed condition in setting compute_source_sad.

The speed condition is not needed, feature can used for any
speed in 1 pass code.

Change-Id: I878ef3f63a075302eda48c0343fa243c80aab9ba
parent d5094cfd
......@@ -3434,7 +3434,7 @@ static void encode_without_recode_loop(VP9_COMP *cpi, size_t *size,
// scene detection and for superblock content state in CBR mode).
// The flag may get reset below based on SVC or resizing state.
cpi->compute_source_sad_onepass =
cpi->oxcf.mode == REALTIME && cpi->oxcf.speed >= 5 && cm->show_frame;
cpi->oxcf.mode == REALTIME && cm->show_frame;
vpx_clear_system_state();
......
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