mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue