1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

LibVideo: Add a hook to notify clients upon reaching end of the stream

This commit is contained in:
Timothy Flynn 2023-04-10 19:51:03 -04:00 committed by Linus Groh
parent fe66490399
commit 33047b38ec
2 changed files with 5 additions and 0 deletions

View file

@ -123,6 +123,7 @@ public:
Function<void(RefPtr<Gfx::Bitmap>)> on_video_frame;
Function<void()> on_playback_state_change;
Function<void()> on_end_of_stream;
Function<void(DecoderError)> on_decoder_error;
Function<void(Error)> on_fatal_playback_error;