mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
gtkgstglwidget: Remove unused gl_caps
This commit is contained in:
parent
d43e3e693c
commit
5243f5678d
1 changed files with 0 additions and 6 deletions
|
@ -83,7 +83,6 @@ struct _GtkGstGLWidgetPrivate
|
|||
|
||||
gboolean negotiated;
|
||||
GstBuffer *buffer;
|
||||
GstCaps *gl_caps;
|
||||
GstCaps *caps;
|
||||
GstVideoInfo v_info;
|
||||
gboolean new_buffer;
|
||||
|
@ -409,7 +408,6 @@ _reset (GtkGstGLWidget * gst_widget)
|
|||
gst_buffer_replace (&gst_widget->priv->buffer, NULL);
|
||||
|
||||
gst_caps_replace (&gst_widget->priv->caps, NULL);
|
||||
gst_caps_replace (&gst_widget->priv->gl_caps, NULL);
|
||||
|
||||
gst_widget->priv->negotiated = FALSE;
|
||||
gst_widget->priv->initted = FALSE;
|
||||
|
@ -803,10 +801,6 @@ gtk_gst_gl_widget_set_caps (GtkGstGLWidget * widget, GstCaps * caps)
|
|||
|
||||
gst_caps_replace (&widget->priv->caps, caps);
|
||||
|
||||
widget->priv->gl_caps = gst_video_info_to_caps (&v_info);
|
||||
gst_caps_set_features (widget->priv->gl_caps, 0,
|
||||
gst_caps_features_from_string (GST_CAPS_FEATURE_MEMORY_GL_MEMORY));
|
||||
|
||||
if (!_calculate_par (widget, &v_info)) {
|
||||
g_mutex_unlock (&widget->priv->lock);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue