mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibVideo: Add a getter for the PlaybackManager's selected track
This commit is contained in:
parent
519b79abde
commit
918ed5c920
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ public:
|
||||||
Function<void(DecoderError)> on_decoder_error;
|
Function<void(DecoderError)> on_decoder_error;
|
||||||
Function<void(Error)> on_fatal_playback_error;
|
Function<void(Error)> on_fatal_playback_error;
|
||||||
|
|
||||||
|
Track const& selected_video_track() const { return m_selected_video_track; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class PlaybackStateHandler;
|
class PlaybackStateHandler;
|
||||||
// Abstract class to allow resuming play/pause after the state is completed.
|
// Abstract class to allow resuming play/pause after the state is completed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue