1 parent 8aec35a commit ed98f25Copy full SHA for ed98f25
1 file changed
app/streaming/video/ffmpeg-renderers/drm.cpp
@@ -811,7 +811,7 @@ bool DrmRenderer::initialize(PDECODER_PARAMETERS params)
811
// underlays where the YUV-compatible overlay plane resides
812
// underneath the primary plane. In this case, we will use
813
// the primary plane as an overlay plane on top of the video.
814
- if (auto type = props.property("type"))
+ if (auto type = props.property("type")) {
815
if (type->initialValue() != DRM_PLANE_TYPE_OVERLAY && type->initialValue() != DRM_PLANE_TYPE_PRIMARY) {
816
drmModeFreePlane(plane);
817
continue;
0 commit comments