Only enable slicing when CPU decoding

This commit is contained in:
Cameron Gutman committed 2019-12-14 15:34:48 -08:00
1 parent 160684f23e
commit 8b9b96f422
3 files changed
+12 -8

No files matched your search

@@ -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);