[817/906] make the state change test pass

This commit is contained in:
Matthew Waters 2013-09-24 16:37:11 +10:00 committed by Tim-Philipp Müller
parent f7c8658464
commit 2a937dd96a

View file

@ -224,7 +224,10 @@ gst_gl_filter_reset (GstGLFilter * filter)
filter);
}
//blocking call, delete the FBO
gst_gl_context_del_fbo (filter->context, filter->fbo, filter->depthbuffer);
if (filter->fbo != 0) {
gst_gl_context_del_fbo (filter->context, filter->fbo,
filter->depthbuffer);
}
gst_object_unref (filter->context);
filter->context = NULL;
}