summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2015-07-15 17:35:22 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2015-07-16 17:05:36 -0400
commitfecef40463879ee8402bd21a25acff05c2c4cc2d (patch)
treeff727ddad0cd7d05c37be4c88b6ba10e9007b1fa /ext
parent4be2229ba6cd733597feb57fbc16930aacadbb0e (diff)
downloadgstreamer-plugins-bad-fecef40463879ee8402bd21a25acff05c2c4cc2d.tar.gz
gtkgstglwidget: Remove unused gl_caps
Diffstat (limited to 'ext')
-rw-r--r--ext/gtk/gtkgstglwidget.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/gtk/gtkgstglwidget.c b/ext/gtk/gtkgstglwidget.c
index 3d05d37b7..67993f24b 100644
--- a/ext/gtk/gtkgstglwidget.c
+++ b/ext/gtk/gtkgstglwidget.c
@@ -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;