Reduce code duplication in renderers

This commit is contained in:
Cameron Gutman
2019-04-12 22:12:53 -07:00
parent 25e5175c54
commit ada2270bd1
10 changed files with 31 additions and 105 deletions
@@ -11,9 +11,7 @@ public:
virtual bool initialize(PDECODER_PARAMETERS params) override;
virtual bool prepareDecoderContext(AVCodecContext* context) override;
virtual void renderFrame(AVFrame* frame) override;
virtual bool needsTestFrame() override;
virtual int getDecoderCapabilities() override;
virtual FramePacingConstraint getFramePacingConstraint() override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual bool isRenderThreadSupported() override;