diff --git a/video/out/hwdec/hwdec_vt_pl.m b/video/out/hwdec/hwdec_vt_pl.m index cd133a0adc22b..41636d3d7a451 100644 --- a/video/out/hwdec/hwdec_vt_pl.m +++ b/video/out/hwdec/hwdec_vt_pl.m @@ -76,7 +76,7 @@ static int mapper_init(struct ra_hwdec_mapper *mapper) } for (int n = 0; n < p->desc.num_planes; n++) { - if (!p->desc.planes[n] || p->desc.planes[n]->ctype != RA_CTYPE_UNORM) { + if (!p->desc.planes[n]) { MP_ERR(mapper, "Format unsupported.\n"); return -1; }