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)