Queue decoded frames, cleanup decoders

This commit is contained in:
ameerj 2020-11-25 17:10:44 -05:00
parent a5029e54b0
commit 5beb990349
10 changed files with 225 additions and 336 deletions

View file

@ -26,8 +26,7 @@ public:
void ProcessMethod(Method method, const std::vector<u32>& arguments);
/// Return most recently decoded frame
[[nodiscard]] AVFrame* GetFrame();
[[nodiscard]] const AVFrame* GetFrame() const;
[[nodiscard]] AVFramePtr GetFrame();
private:
/// Invoke codec to decode a frame