mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gltestsrc: NULL out the functions used
Fixes segfault when the display changes
This commit is contained in:
parent
1abd05dbff
commit
2a4a3aa0d6
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue