projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abd05d
)
gltestsrc: NULL out the functions used
author
Matthew Waters
<matthew@centricular.com>
Tue, 4 Feb 2020 03:06:36 +0000
(14:06 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 5 Feb 2020 04:32:14 +0000
(15:32 +1100)
Fixes segfault when the display changes
ext/gl/gstgltestsrc.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstgltestsrc.c
b/ext/gl/gstgltestsrc.c
index
116090a
..
1148a44
100644
(file)
--- a/
ext/gl/gstgltestsrc.c
+++ b/
ext/gl/gstgltestsrc.c
@@
-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;
}