Use SDL to render on Wayland for VAAPI
This commit is contained in:
parent
ada2270bd1
commit
b8b633a6cc
4 changed files with 30 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue