Skip to content
Browse files

VideoOutputOpenGL: Fix embedded playback when using OpenGL for main UI

Now that OpenGL video will share the OpenGL context with the main UI,
setting the mask (in guidgrid.cpp) effectively hides the embedded video
- so clear the mask.
  • Loading branch information
Mark Kendall
Mark Kendall committed Jun 20, 2011
1 parent 5a5e70d commit 88023ee16fe1e48a3efc2c1442fd44c9748b8fe9
Showing with 7 additions and 2 deletions.
  1. +7 −2 mythtv/libs/libmythtv/videoout_opengl.cpp
@@ -506,8 +506,13 @@ void VideoOutputOpenGL::PrepareFrame(VideoFrame *buffer, FrameScanType t,
gl_context->SetBackground(0, 0, 0, 255);

if (gl_context->IsShared() && GetMythMainWindow() && window.IsEmbedding())
MythMainWindow *mwnd = GetMythMainWindow();
if (gl_context->IsShared() && mwnd && window.IsEmbedding())
if (mwnd->GetPaintWindow())

if (gl_videochain)

0 comments on commit 88023ee

Please sign in to comment.
You can’t perform that action at this time.