vkencoder-private: fix return value to gst_vulkan_encoder_encode()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7974>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-09-04 14:21:04 +02:00 committed by GStreamer Marge Bot
parent 751d628160
commit 5e78ffe87a

View file

@ -1219,7 +1219,7 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
} }
if (!pic->out_buffer) if (!pic->out_buffer)
return GST_FLOW_ERROR; return FALSE;
/* Add the packed headers if present on head of the output buffer */ /* Add the packed headers if present on head of the output buffer */
for (i = 0; pic->packed_headers && i < pic->packed_headers->len; i++) { for (i = 0; pic->packed_headers && i < pic->packed_headers->len; i++) {