mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Prefix AK::Duration with AK Namespace
This commit is contained in:
committed by
Sam Atkins
parent
2fa9ec20bd
commit
b20a1d0fcd
@@ -103,17 +103,17 @@ void VideoTrack::stop_video(Badge<HTMLVideoElement>)
|
||||
m_playback_manager->terminate_playback();
|
||||
}
|
||||
|
||||
Duration VideoTrack::position() const
|
||||
AK::Duration VideoTrack::position() const
|
||||
{
|
||||
return m_playback_manager->current_playback_time();
|
||||
}
|
||||
|
||||
Duration VideoTrack::duration() const
|
||||
AK::Duration VideoTrack::duration() const
|
||||
{
|
||||
return m_playback_manager->selected_video_track().video_data().duration;
|
||||
}
|
||||
|
||||
void VideoTrack::seek(Duration position, MediaSeekMode seek_mode)
|
||||
void VideoTrack::seek(AK::Duration position, MediaSeekMode seek_mode)
|
||||
{
|
||||
switch (seek_mode) {
|
||||
case MediaSeekMode::Accurate:
|
||||
|
||||
Reference in New Issue
Block a user