diff options
author | Matthew Waters <matthew@centricular.com> | 2020-02-04 14:06:36 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2020-02-11 11:40:20 +1100 |
commit | ede466520ebcf6741ad6785ec6e10ae209ace232 (patch) | |
tree | 3e739f6a57ca7989b3db866c4b088a07bde74fbd | |
parent | e048b9fd564db8ad4b0c4880c2ee37a8254c08c3 (diff) | |
download | gstreamer-plugins-base-ede466520ebcf6741ad6785ec6e10ae209ace232.tar.gz |
gltestsrc: NULL out the functions used
Fixes segfault when the display changes
-rw-r--r-- | ext/gl/gstgltestsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index a98a8e9d2..1e12b0918 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -532,6 +532,7 @@ gst_gl_test_src_gl_stop (GstGLContext * context, GstGLTestSrc * src) if (src->src_impl) src->src_funcs->free (src->src_impl); src->src_impl = NULL; + src->src_funcs = NULL; } static gboolean |