nvenc: Remove unnecessary constraint from YUV420 10bits capability decision
YUV444 capability shouldn't be applied to YUV420 10 bits format
This commit is contained in:
parent
99af098a7b
commit
fa5e6f546b
@ -387,7 +387,7 @@ gst_nv_enc_get_supported_input_formats (gpointer encoder, GUID codec_id,
|
||||
}
|
||||
break;
|
||||
case NV_ENC_BUFFER_FORMAT_YUV420_10BIT:
|
||||
if (support_yuv444 && support_10bit && !format_map[i].supported) {
|
||||
if (support_10bit && !format_map[i].supported) {
|
||||
format_map[i].supported = TRUE;
|
||||
num_format++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user