Add reference frame invalidation for the software decoder

This commit is contained in:
Cameron Gutman committed 2018-08-25 12:38:04 -07:00
1 parent 55f0e1e1d5
commit 9be9934b8c
14 files changed
+46

No files matched your search

@@ -18,6 +18,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context) = 0;
virtual void renderFrameAtVsync(AVFrame* frame) = 0;
virtual bool needsTestFrame() = 0;
virtual int getDecoderCapabilities() = 0;
};
class SdlRenderer : public IFFmpegRenderer {
@@ -33,6 +34,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context);
virtual void renderFrameAtVsync(AVFrame* frame);
virtual bool needsTestFrame();
virtual int getDecoderCapabilities();
private:
SDL_Renderer* m_Renderer;