mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
83985ae1fa
commit
5441b77683
3 changed files with 0 additions and 5 deletions
|
@ -106,7 +106,6 @@ typedef struct _GstGtkWaylandSinkPrivate
|
|||
|
||||
GstBufferPool *pool;
|
||||
GstBuffer *last_buffer;
|
||||
gboolean use_dmabuf;
|
||||
|
||||
gboolean video_info_changed;
|
||||
GstVideoInfo video_info;
|
||||
|
@ -984,7 +983,6 @@ gst_gtk_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
|
|||
|
||||
GST_OBJECT_UNLOCK (self);
|
||||
|
||||
priv->use_dmabuf = use_dmabuf;
|
||||
/* Will be used to create buffer pools */
|
||||
gst_caps_replace (&priv->caps, caps);
|
||||
|
||||
|
|
|
@ -720,8 +720,6 @@ gst_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
|
|||
goto unsupported_format;
|
||||
}
|
||||
|
||||
self->use_dmabuf = use_dmabuf;
|
||||
|
||||
/* Will be used to create buffer pools */
|
||||
gst_caps_replace (&self->caps, caps);
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@ struct _GstWaylandSink
|
|||
GstWlDisplay *display;
|
||||
GstWlWindow *window;
|
||||
GstBufferPool *pool;
|
||||
gboolean use_dmabuf;
|
||||
|
||||
gboolean video_info_changed;
|
||||
GstVideoInfo video_info;
|
||||
|
|
Loading…
Reference in a new issue