YUV420P10 is also compatible with PlVkRenderer

This commit is contained in:
Cameron Gutman 2024-07-06 17:24:46 -05:00
parent b5b2731d5f
commit d5a198b764

View File

@ -951,6 +951,7 @@ bool PlVkRenderer::isPixelFormatSupported(int videoFormat, AVPixelFormat pixelFo
else if (videoFormat & VIDEO_FORMAT_MASK_10BIT) {
switch (pixelFormat) {
case AV_PIX_FMT_P010:
case AV_PIX_FMT_YUV420P10:
return true;
default:
return false;