vaapi/display_wayland: silence a maybe-unitialized warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 17:58:05 +11:00
parent 26d581041a
commit c3d4d500e0

View file

@ -725,7 +725,7 @@ dmabuf_buffer_from_surface (GstVaapiWindow * window, GstVaapiSurface * surface,
struct wl_buffer *buffer = NULL;
VADRMPRIMESurfaceDescriptor desc;
VAStatus status;
GstVaapiDmabufStatus ret;
GstVaapiDmabufStatus ret = GST_VAAPI_DMABUF_NOT_SUPPORTED;
guint format, i, j, plane = 0;
if (!priv_display->dmabuf)