mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:27:34 +00:00
LibVideo/VP9: Choose whether/how to show new frames using an enum
There are three mutually exclusive frame-showing states: - Show no new frame, only store the frame as a reference. - Show a newly decoded frame. - Show frame from the reference frame store. Since they are mutually exclusive, using an enum rather than two bools makes more sense.
This commit is contained in:
parent
befcd479ae
commit
3259c99cab
4 changed files with 24 additions and 9 deletions
|
@ -149,7 +149,6 @@ private:
|
|||
bool m_loop_filter_delta_enabled { false };
|
||||
FrameType m_frame_type { FrameType::KeyFrame };
|
||||
FrameType m_last_frame_type { FrameType::KeyFrame };
|
||||
bool m_show_frame { false };
|
||||
bool m_error_resilient_mode { false };
|
||||
bool m_frame_is_intra { false };
|
||||
u8 m_reset_frame_context { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue