Commit 3b08db6d authored by David Michael Barr's avatar David Michael Barr
Browse files

rate: Reset log_scale after first frame of each type

This is a bug fix and aligns to rate-control in Theora and Daala.
parent 090c64f3
......@@ -754,6 +754,7 @@ impl RCState {
f.x[1] = x;
f.y[0] = x;
f.y[1] = x;
self.log_scale[fti] = log_scale;
// TODO: Duplicate regular P frame state for first golden P frame.
} else {
// Lengthen the time constant for the inter filters as we collect
......
Supports Markdown
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