From ebbdf29a241e573d8a6c1165389e29eaceab3f23 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 11 Mar 2015 17:19:17 +1100 Subject: [PATCH] glfilter: Remove redundant check for clearing context on reset. The context is already cleared a few lines above. --- gst-libs/gst/gl/gstglfilter.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index 0c3abde087..8a0a49888a 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -315,10 +315,6 @@ gst_gl_filter_reset (GstGLFilter * filter) gst_object_unref (filter->other_context); filter->other_context = NULL; - if (filter->context) - gst_object_unref (filter->context); - filter->context = NULL; - if (filter->in_converted_caps) { gst_caps_unref (filter->in_converted_caps); filter->in_converted_caps = NULL;