Only enable slicing when CPU decoding

This commit is contained in:
Cameron Gutman
2019-12-14 15:34:48 -08:00
parent 160684f23e
commit 8b9b96f422
3 changed files with 12 additions and 8 deletions
@@ -13,6 +13,7 @@ public:
virtual void renderFrame(AVFrame* frame) override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual bool isRenderThreadSupported() override;
virtual int getDecoderCapabilities() override;
private:
void renderOverlay(Overlay::OverlayType type);