Commit 88481ca4 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Use prev_frame seg_map if temporal=0,update=0 also

parent dab08ce4
......@@ -3045,7 +3045,7 @@ int dav1d_submit_frame(Dav1dContext *const c) {
// segmap
if (f->frame_hdr.segmentation.enabled) {
if (f->frame_hdr.segmentation.temporal) {
if (f->frame_hdr.segmentation.temporal || !f->frame_hdr.segmentation.update_map) {
const int pri_ref = f->frame_hdr.primary_ref_frame;
assert(pri_ref != PRIMARY_REF_NONE);
const int ref_w = (f->refp[pri_ref].p.p.w + 3) >> 2;
......
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