mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
vaapi/display_wayland: silence a maybe-unitialized warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
26d581041a
commit
c3d4d500e0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue