glfilter: Remove redundant check for clearing context on reset.

The context is already cleared a few lines above.
This commit is contained in:
Jan Schmidt 2015-03-11 17:19:17 +11:00 committed by Tim-Philipp Müller
parent 6350c35352
commit ebbdf29a24

View file

@ -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;