video renderer will always render frames closest to the playhead first
A few commits ago, the render behavior was changed to only render within a user-specified range of the playhead. This works well, but it would still render from the start of the range (usually before the playhead) to the end, meaning it couldn't keep up with the playhead as well as it should. This commit prioritizes frames close to the playhead and renders outwards to address this.
This commit is contained in:
@@ -128,7 +128,7 @@ private:
|
||||
|
||||
VideoRenderFrameCache frame_cache_;
|
||||
|
||||
TimeRangeList missing_cache_;
|
||||
TimeRangeList invalidated_;
|
||||
|
||||
rational last_time_requested_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user