waylandsink: Remove unused instance member

use_dmabuf is set but never used.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3476>
This commit is contained in:
Nicolas Dufresne 2022-11-28 08:59:54 -05:00 committed by GStreamer Marge Bot
parent 83985ae1fa
commit 5441b77683
3 changed files with 0 additions and 5 deletions

View file

@ -106,7 +106,6 @@ typedef struct _GstGtkWaylandSinkPrivate
GstBufferPool *pool; GstBufferPool *pool;
GstBuffer *last_buffer; GstBuffer *last_buffer;
gboolean use_dmabuf;
gboolean video_info_changed; gboolean video_info_changed;
GstVideoInfo video_info; GstVideoInfo video_info;
@ -984,7 +983,6 @@ gst_gtk_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
GST_OBJECT_UNLOCK (self); GST_OBJECT_UNLOCK (self);
priv->use_dmabuf = use_dmabuf;
/* Will be used to create buffer pools */ /* Will be used to create buffer pools */
gst_caps_replace (&priv->caps, caps); gst_caps_replace (&priv->caps, caps);

View file

@ -720,8 +720,6 @@ gst_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
goto unsupported_format; goto unsupported_format;
} }
self->use_dmabuf = use_dmabuf;
/* Will be used to create buffer pools */ /* Will be used to create buffer pools */
gst_caps_replace (&self->caps, caps); gst_caps_replace (&self->caps, caps);

View file

@ -51,7 +51,6 @@ struct _GstWaylandSink
GstWlDisplay *display; GstWlDisplay *display;
GstWlWindow *window; GstWlWindow *window;
GstBufferPool *pool; GstBufferPool *pool;
gboolean use_dmabuf;
gboolean video_info_changed; gboolean video_info_changed;
GstVideoInfo video_info; GstVideoInfo video_info;