mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:47:44 +00:00
LibVideo: Make VP9::Decoder a subclass of a new abstract VideoDecoder
This will allow other decoders to be used in place of VP9::Decoder when new video decoders are implemented, such as AV1.
This commit is contained in:
parent
3720f66bb1
commit
2b4b6c5613
4 changed files with 34 additions and 12 deletions
|
@ -42,11 +42,6 @@ DecoderErrorOr<void> Decoder::receive_sample(Span<u8 const> chunk_data)
|
|||
return {};
|
||||
}
|
||||
|
||||
DecoderErrorOr<void> Decoder::receive_sample(ByteBuffer const& chunk_data)
|
||||
{
|
||||
return receive_sample(chunk_data.span());
|
||||
}
|
||||
|
||||
void Decoder::dump_frame_info()
|
||||
{
|
||||
m_parser->dump_info();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue