Use SDL to render on Wayland for VAAPI

This commit is contained in:
Cameron Gutman
2019-04-12 22:54:21 -07:00
parent ada2270bd1
commit b8b633a6cc
4 changed files with 30 additions and 29 deletions
+1 -5
View File
@@ -34,6 +34,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context) override;
virtual void renderFrame(AVFrame* frame) override;
virtual bool needsTestFrame() override;
virtual bool isDirectRenderingSupported() override;
private:
int m_WindowSystem;
@@ -43,11 +44,6 @@ private:
Window m_XWindow;
#endif
#ifdef HAVE_LIBVA_WAYLAND
struct wl_surface* m_WaylandSurface;
struct wl_display* m_WaylandDisplay;
#endif
int m_VideoWidth;
int m_VideoHeight;
int m_DisplayWidth;