Add reference frame invalidation for the software decoder
This commit is contained in:
parent
55f0e1e1d5
commit
9be9934b8c
14 changed files with 46 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue