va: gst_va_create_raw_caps_from_config() may return NULL.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 16 Aug 2022 12:45:46 +0000 (14:45 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 17 Aug 2022 18:34:10 +0000 (18:34 +0000)
commit0446e35a14cf63233b2b4c1fcfa0f787bbf282d5
treee3ca12d74db7bf275ea877346a47eedd333d330b
parent45408db25836ca930b1bb1ef664c6dfd38ad0efe
va: gst_va_create_raw_caps_from_config() may return NULL.

This patch verifies if the function returns NULL in the caller.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2899>
subprojects/gst-plugins-bad/sys/va/gstvadecoder.c
subprojects/gst-plugins-bad/sys/va/gstvaencoder.c