Skip to content

Commit

Permalink
VDPAU: Fix blank screen with VDPAU legacy drivers after mode switch
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Oct 24, 2019
1 parent efaf9b2 commit 94e892e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmythtv/videoout_opengl.cpp
Expand Up @@ -254,6 +254,9 @@ bool VideoOutputOpenGL::Init(const QSize &VideoDim, const QSize &VideoDispDim, f
if (m_openGLVideo->IsValid())
m_openGLVideo->ResetFrameFormat();

// This works around an issue with VDPAU direct rendering using legacy drivers
m_render->Flush();

return true;
}

Expand Down

0 comments on commit 94e892e

Please sign in to comment.