va: Fix some gst_object_unref error because the pointer is NULL.
authorHe Junyan <junyan.he@intel.com>
Sat, 16 Jan 2021 17:16:17 +0000 (01:16 +0800)
committerHe Junyan <junyan.he@intel.com>
Sun, 17 Jan 2021 06:00:50 +0000 (14:00 +0800)
commit01588491454be8129428ed058266c17984369112
tree7a4046faab3984c12e4436848b4a6a91cf8c31ed
parent82c0f901970b14accaca4536926e8c63c7593b28
va: Fix some gst_object_unref error because the pointer is NULL.

!1957 introduces some error of gst_object_unref for NULL pointer.
Fixes all of them.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1959>
sys/va/gstvabasedec.c
sys/va/gstvautils.c