YUV420P10 is also compatible with PlVkRenderer
This commit is contained in:
parent
b5b2731d5f
commit
d5a198b764
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue