1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:25:06 +00:00

LibWeb: Propagate LibVideo decoder errors to the HTMLMediaElement

This commit is contained in:
Timothy Flynn 2023-04-22 15:11:07 -04:00 committed by Andreas Kling
parent 9c940608fd
commit 848078aedd
3 changed files with 41 additions and 5 deletions

View file

@ -35,6 +35,7 @@ public:
void queue_a_media_element_task(JS::SafeFunction<void()> steps);
JS::GCPtr<MediaError> error() const { return m_error; }
WebIDL::ExceptionOr<void> set_decoder_error(String error_message);
String const& current_src() const { return m_current_src; }