mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-05 11:03:31 +00:00
obs-ffmpeg: Enable GPU scaling for AMF texture encoder
This commit is contained in:
parent
eb260cddc2
commit
526990d37c
|
@ -1026,7 +1026,8 @@ static void check_texture_encode_capability(obs_encoder_t *encoder,
|
|||
bool hevc = amf_codec_type::HEVC == codec;
|
||||
bool av1 = amf_codec_type::AV1 == codec;
|
||||
|
||||
if (obs_encoder_scaling_enabled(encoder))
|
||||
if (obs_encoder_scaling_enabled(encoder) &&
|
||||
!obs_encoder_gpu_scaling_enabled(encoder))
|
||||
throw "Encoder scaling is active";
|
||||
|
||||
if (hevc || av1) {
|
||||
|
|
Loading…
Reference in a new issue