Fix typo
This commit is contained in:
parent
8aec35a650
commit
ed98f256e8
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ bool DrmRenderer::initialize(PDECODER_PARAMETERS params)
|
|||
// underlays where the YUV-compatible overlay plane resides
|
||||
// underneath the primary plane. In this case, we will use
|
||||
// the primary plane as an overlay plane on top of the video.
|
||||
if (auto type = props.property("type"))
|
||||
if (auto type = props.property("type")) {
|
||||
if (type->initialValue() != DRM_PLANE_TYPE_OVERLAY && type->initialValue() != DRM_PLANE_TYPE_PRIMARY) {
|
||||
drmModeFreePlane(plane);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue