mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-06 00:39:54 +00:00
Use P010 instead of YUV420P10 for 10-bit VAAPI encoding
This commit is contained in:
parent
beb51cc925
commit
a9b459cdb1
@ -884,7 +884,7 @@ namespace video {
|
||||
std::make_unique<encoder_platform_formats_avcodec>(
|
||||
AV_HWDEVICE_TYPE_VAAPI, AV_HWDEVICE_TYPE_NONE,
|
||||
AV_PIX_FMT_VAAPI,
|
||||
AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P10,
|
||||
AV_PIX_FMT_NV12, AV_PIX_FMT_P010,
|
||||
vaapi_init_avcodec_hardware_input_buffer),
|
||||
{
|
||||
// Common options
|
||||
|
Loading…
x
Reference in New Issue
Block a user