Allow NV12 and NV21 to be selected for non-hwaccel decoders using the SDL renderer

This commit is contained in:
Cameron Gutman
2020-01-26 15:02:29 -08:00
parent cede6ce8a9
commit b9463b3c0e
5 changed files with 35 additions and 1 deletions
@@ -13,6 +13,7 @@ public:
virtual void renderFrame(AVFrame* frame) override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual bool isRenderThreadSupported() override;
virtual bool isPixelFormatSupported(int videoFormat, enum AVPixelFormat pixelFormat) override;
private:
void renderOverlay(Overlay::OverlayType type);