mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibVideo: Allow the VP9 decoder to queue multiple frames
Frames will now be queued for retrieval by the user of the decoder. When the end of the current queue is reached, a DecoderError of category NeedsMoreInput will be emitted, allowing the caller to react by displaying what was previously retrieved for sending more samples.
This commit is contained in:
parent
993385f18d
commit
72ed286e16
5 changed files with 76 additions and 39 deletions
|
@ -22,6 +22,7 @@ using DecoderErrorOr = ErrorOr<T, DecoderError>;
|
|||
enum class DecoderErrorCategory : u32 {
|
||||
Unknown,
|
||||
IO,
|
||||
NeedsMoreInput,
|
||||
EndOfStream,
|
||||
Memory,
|
||||
// The input is corrupted.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue