Skip to content

Commit

Permalink
hwdec: fix HDR playback with Vulkan
Browse files Browse the repository at this point in the history
  • Loading branch information
sixones committed Feb 15, 2024
1 parent 15ca266 commit 589c52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video/out/hwdec/hwdec_vt_pl.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 589c52b

Please sign in to comment.