Skip to content

Commit

Permalink
MythVideoOutputGPU: Ensure we set m_buffersCreated
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Oct 29, 2020
1 parent b7136f0 commit e252572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/mythvideooutgpu.cpp
Expand Up @@ -255,7 +255,8 @@ bool MythVideoOutputGPU::Init(const QSize& VideoDim, const QSize& VideoDispDim,
InitDisplayMeasurements();

// Create buffers
if (!CreateBuffers(CodecId, GetVideoDim()))
m_buffersCreated = CreateBuffers(CodecId, GetVideoDim());
if (!m_buffersCreated)
return false;

// Adjust visible rect for embedding
Expand Down

0 comments on commit e252572

Please sign in to comment.