From c3d4d500e04732271ac22cbc2f987f7bb49ef1e8 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 17:58:05 +1100 Subject: [PATCH] vaapi/display_wayland: silence a maybe-unitialized warning Part-of: --- .../gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c index fc0f45a992..b2e9fd0943 100644 --- a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c +++ b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c @@ -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)