summaryrefslogtreecommitdiff
path: root/src/gsttools/qgstreamergltexturerenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsttools/qgstreamergltexturerenderer.cpp')
-rw-r--r--src/gsttools/qgstreamergltexturerenderer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsttools/qgstreamergltexturerenderer.cpp b/src/gsttools/qgstreamergltexturerenderer.cpp
index dda04792e..85199e00e 100644
--- a/src/gsttools/qgstreamergltexturerenderer.cpp
+++ b/src/gsttools/qgstreamergltexturerenderer.cpp
@@ -216,6 +216,7 @@ GstElement *QGstreamerGLTextureRenderer::videoSink()
GstPad *pad = gst_element_get_static_pad(m_videoSink,"sink");
m_bufferProbeId = gst_pad_add_buffer_probe(pad, G_CALLBACK(padBufferProbe), this);
+ gst_object_unref(GST_OBJECT(pad));
}
}