Commit e8d8879e authored by Yushin Cho's avatar Yushin Cho
Browse files

[seg] No need to decide temporal_update

If error resilient mode is true, temporal update of seg_id is not used,
thus don't need to decide seg->temporal_update flag by calling

Change-Id: Ifb2271be53f1a6bc64f1196af5e7fbe46741fab0
parent 3c22260b
......@@ -2462,7 +2462,7 @@ static void encode_segmentation(AV1_COMMON *cm, MACROBLOCKD *xd,
if (seg->update_map) {
// Select the coding strategy (temporal or spatial)
av1_choose_segmap_coding_method(cm, xd);
if (!cm->error_resilient_mode) av1_choose_segmap_coding_method(cm, xd);
// Write out the chosen coding method.
if (!frame_is_intra_only(cm) && !cm->error_resilient_mode) {
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