Skip to content

Commit

Permalink
tidy: Simplify boolean expression in MythVideoOutputVulkan::Init.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Mar 17, 2021
1 parent d06d921 commit 0bbd2c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mythtv/libs/libmythtv/vulkan/mythvideooutputvulkan.cpp
Expand Up @@ -87,10 +87,7 @@ bool MythVideoOutputVulkan::Init(const QSize VideoDim, const QSize VideoDispDim,
return false;
}

if (!MythVideoOutputGPU::Init(VideoDim, VideoDispDim, Aspect, DisplayVisibleRect, CodecId))
return false;

return true;
return MythVideoOutputGPU::Init(VideoDim, VideoDispDim, Aspect, DisplayVisibleRect, CodecId);
}

void MythVideoOutputVulkan::PrepareFrame(MythVideoFrame* Frame, FrameScanType Scan)
Expand Down

0 comments on commit 0bbd2c8

Please sign in to comment.