vkencoder-private: use gst_clear_object()

Instead of g_clear_object() for sake of coherence.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7974>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-10-03 22:22:17 +02:00 committed by GStreamer Marge Bot
parent 5e78ffe87a
commit e79ff5a4f1

View file

@ -1031,7 +1031,7 @@ gst_vulkan_encoder_create_dpb_pool (GstVulkanEncoder * self, GstCaps * caps)
return TRUE;
bail:
g_clear_object (&priv->dpb_pool);
gst_clear_object (&priv->dpb_pool);
return FALSE;
}