Initialize a DRM hardware context for hwaccel usage

This commit is contained in:
Cameron Gutman 2021-01-30 16:33:58 -06:00
commit 243ba371b3
2 changed files with 29 additions and 3 deletions

View file

@ -16,6 +16,7 @@ public:
virtual int getRendererAttributes() override;
private:
AVBufferRef* m_HwContext;
int m_DrmFd;
uint32_t m_CrtcId;
uint32_t m_PlaneId;