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:
Zaggy1024 2023-02-12 00:48:27 -06:00 committed by Andreas Kling
commit 789bc99b8d
Notes: sideshowbarker 2024-07-17 03:14:39 +09:00
2 changed files with 58 additions and 2 deletions

View file

@ -114,6 +114,7 @@ public:
private:
class PlaybackStateHandler;
class StartingStateHandler;
class PlayingStateHandler;
class PausedStateHandler;
class BufferingStateHandler;