nvcodec: gl now supports Y444_16LE

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7858>
This commit is contained in:
Thibault Saunier 2024-11-08 10:18:09 -03:00
parent 6ed0d547a7
commit 650ff6c5d0

View file

@ -1927,8 +1927,6 @@ gst_nv_decoder_negotiate (GstNvDecoder * decoder,
#ifdef HAVE_CUDA_GST_GL
/* TODO: gl does not support Y444_16 and GBR_16 */
if (GST_VIDEO_INFO_FORMAT (&decoder->info) !=
GST_VIDEO_FORMAT_Y444_16LE &&
GST_VIDEO_INFO_FORMAT (&decoder->info) !=
GST_VIDEO_FORMAT_GBR_16LE &&
features && gst_caps_features_contains (features,
GST_CAPS_FEATURE_MEMORY_GL_MEMORY)) {