mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibVideo: Add a getter for the PlaybackManager's selected track
This commit is contained in:
parent
519b79abde
commit
918ed5c920
Notes:
sideshowbarker
2024-07-17 08:42:05 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/918ed5c920 Pull-request: https://github.com/SerenityOS/serenity/pull/18264
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ public:
|
|||
Function<void(DecoderError)> on_decoder_error;
|
||||
Function<void(Error)> on_fatal_playback_error;
|
||||
|
||||
Track const& selected_video_track() const { return m_selected_video_track; }
|
||||
|
||||
private:
|
||||
class PlaybackStateHandler;
|
||||
// Abstract class to allow resuming play/pause after the state is completed.
|
||||
|
|
Loading…
Reference in a new issue