gltestsrc: NULL out the functions used

Fixes segfault when the display changes
This commit is contained in:
Matthew Waters 2020-02-04 14:06:36 +11:00
parent 1abd05dbff
commit 2a4a3aa0d6

View file

@ -300,4 +300,5 @@ gst_gl_test_src_gl_stop (GstGLBaseSrc * bsrc)
if (src->src_impl)
src->src_funcs->free (src->src_impl);
src->src_impl = NULL;
src->src_funcs = NULL;
}