gltestsrc: NULL out the functions used
Fixes segfault when the display changes
This commit is contained in:
parent
1abd05dbff
commit
2a4a3aa0d6
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user