mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibVideo: Add StartingStateHandler to prepare the first frames of video
This new state handler will retrieve and display the first frame, while ensuring that playback can start as soon as possible by buffering two frames on top of the first frame for the PlayingStateHandler to set its next frame timer by.
This commit is contained in:
parent
f9a65c1502
commit
789bc99b8d
2 changed files with 58 additions and 2 deletions
|
@ -114,6 +114,7 @@ public:
|
|||
|
||||
private:
|
||||
class PlaybackStateHandler;
|
||||
class StartingStateHandler;
|
||||
class PlayingStateHandler;
|
||||
class PausedStateHandler;
|
||||
class BufferingStateHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue