Skip to content

Commit

Permalink
Fix method hiding in VideoOutputXv and VideoOutputOpenGL
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 30, 2012
1 parent 217e4a2 commit 0e0c200
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/videoout_opengl.cpp
Expand Up @@ -100,7 +100,7 @@ bool VideoOutputOpenGL::CreateGPUResources(void)
bool result = SetupContext();
QSize size = window.GetActualVideoDim();
InitDisplayMeasurements(size.width(), size.height(), false);
InitOSD();
CreatePainter();
return result;
}

Expand Down Expand Up @@ -378,7 +378,7 @@ bool VideoOutputOpenGL::SetupOpenGL(void)
return success;
}

void VideoOutputOpenGL::InitOSD(void)
void VideoOutputOpenGL::CreatePainter(void)
{
QMutexLocker locker(&gl_context_lock);

Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videoout_opengl.h
Expand Up @@ -70,7 +70,7 @@ class VideoOutputOpenGL : public VideoOutput
bool CreatePauseFrame(void);
bool SetupContext(void);
bool SetupOpenGL(void);
void InitOSD(void);
void CreatePainter(void);

QMutex gl_context_lock;
MythRenderOpenGL *gl_context;
Expand Down
6 changes: 3 additions & 3 deletions mythtv/libs/libmythtv/videoout_xv.cpp
Expand Up @@ -293,7 +293,7 @@ bool VideoOutputXv::InputChanged(const QSize &input_size,
}

InitColorKey(true);
InitOSD();
CreateOSD();

MoveResize();

Expand Down Expand Up @@ -756,7 +756,7 @@ MythCodecID VideoOutputXv::GetBestSupportedCodec(uint stream_type)
return (MythCodecID)(kCodec_MPEG1 + (stream_type-1));
}

bool VideoOutputXv::InitOSD(void)
bool VideoOutputXv::CreateOSD(void)
{
QString osdrenderer = db_vdisp_profile->GetOSDRenderer();

Expand Down Expand Up @@ -909,7 +909,7 @@ bool VideoOutputXv::Init(int width, int height, float aspect,
return false;

InitColorKey(true);
InitOSD();
CreateOSD();

MoveResize();

Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videoout_xv.h
Expand Up @@ -111,7 +111,7 @@ class VideoOutputXv : public VideoOutput
bool InitXVideo(void);
bool InitXShm(void);
bool InitXlib(void);
bool InitOSD(void);
bool CreateOSD(void);

bool CreateBuffers(VOSType subtype);
vector<unsigned char*> CreateShmImages(uint num, bool use_xv);
Expand Down

0 comments on commit 0e0c200

Please sign in to comment.