Queue decoded frames, cleanup decoders

This commit is contained in:
ameerj
2020-11-25 17:10:44 -05:00
parent b834c21894
commit eab041866b
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