Allow fallback from EGL to direct on EGLImage export failure

This commit is contained in:
Cameron Gutman
2021-03-22 22:51:29 -05:00
parent 4a8c9ad17f
commit e74753bec1
5 changed files with 81 additions and 36 deletions
@@ -12,6 +12,7 @@ public:
virtual bool initialize(PDECODER_PARAMETERS params) override;
virtual bool prepareDecoderContext(AVCodecContext* context, AVDictionary** options) override;
virtual void renderFrame(AVFrame* frame) override;
virtual bool testRenderFrame(AVFrame* frame) override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual bool isPixelFormatSupported(int videoFormat, enum AVPixelFormat pixelFormat) override;
virtual AVPixelFormat getPreferredPixelFormat(int videoFormat) override;