mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Implement some of SourceBuffer.appendBuffer()
Currently, it just fires the error event immediately.
This commit is contained in:
committed by
Gregory Bertilson
parent
e3b37694f5
commit
e627376368
Notes:
github-actions[bot]
2026-04-01 07:56:14 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e627376368c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8655 Reviewed-by: https://github.com/tcl3
@@ -7,14 +7,15 @@
|
||||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/Bindings/ManagedSourceBufferPrototype.h>
|
||||
#include <LibWeb/MediaSourceExtensions/EventNames.h>
|
||||
#include <LibWeb/MediaSourceExtensions/ManagedMediaSource.h>
|
||||
#include <LibWeb/MediaSourceExtensions/ManagedSourceBuffer.h>
|
||||
|
||||
namespace Web::MediaSourceExtensions {
|
||||
|
||||
GC_DEFINE_ALLOCATOR(ManagedSourceBuffer);
|
||||
|
||||
ManagedSourceBuffer::ManagedSourceBuffer(JS::Realm& realm)
|
||||
: SourceBuffer(realm)
|
||||
ManagedSourceBuffer::ManagedSourceBuffer(JS::Realm& realm, ManagedMediaSource& media_source)
|
||||
: SourceBuffer(realm, media_source)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user