mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
YUV420P10 is also compatible with PlVkRenderer
This commit is contained in:
parent
b5b2731d5f
commit
d5a198b764
@ -951,6 +951,7 @@ bool PlVkRenderer::isPixelFormatSupported(int videoFormat, AVPixelFormat pixelFo
|
|||||||
else if (videoFormat & VIDEO_FORMAT_MASK_10BIT) {
|
else if (videoFormat & VIDEO_FORMAT_MASK_10BIT) {
|
||||||
switch (pixelFormat) {
|
switch (pixelFormat) {
|
||||||
case AV_PIX_FMT_P010:
|
case AV_PIX_FMT_P010:
|
||||||
|
case AV_PIX_FMT_YUV420P10:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user