diff options
author | FalseHonesty <thefalsehonesty@gmail.com> | 2021-06-26 17:10:14 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-10 21:28:56 +0200 |
commit | 514559f07404bd740a9f4410303747438b163452 (patch) | |
tree | e622e3d709f03aacdf7aec6aa6fb2a9d115caba9 /Userland/Applications/VideoPlayer | |
parent | 66628053d49880090e64d515e13500b466658bea (diff) | |
download | serenity-514559f07404bd740a9f4410303747438b163452.zip |
LibVideo/VP9: Rename Decoder -> Parser & create an actual Decoder class
The class that was previously named Decoder handled section 6.X.X of
the spec, which actually deals with parsing out the syntax of the data,
not the actual decoding logic which is specified in section 8.X.X.
The new Decoder class will be in charge of owning and running the
Parser, as well as implementing all of the decoding behavior.
Diffstat (limited to 'Userland/Applications/VideoPlayer')
-rw-r--r-- | Userland/Applications/VideoPlayer/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/VideoPlayer/main.cpp b/Userland/Applications/VideoPlayer/main.cpp index db7dd60695..a2e904853e 100644 --- a/Userland/Applications/VideoPlayer/main.cpp +++ b/Userland/Applications/VideoPlayer/main.cpp @@ -43,8 +43,8 @@ int main(int argc, char** argv) auto const& frame = block.frame(0); dbgln("Reading frame 0 from block @ {}", block.timestamp()); - vp9_decoder.parse_frame(frame); - vp9_decoder.dump_info(); + vp9_decoder.decode_frame(frame); + vp9_decoder.dump_frame_info(); } } |