projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c8658
)
[817/906] make the state change test pass
author
Matthew Waters
<ystreet00@gmail.com>
Tue, 24 Sep 2013 06:37:11 +0000
(16:37 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:31 +0000
(19:31 +0000)
gst-libs/gst/gl/gstglfilter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglfilter.c
b/gst-libs/gst/gl/gstglfilter.c
index
dd5ee59
..
744bea1
100644
(file)
--- a/
gst-libs/gst/gl/gstglfilter.c
+++ b/
gst-libs/gst/gl/gstglfilter.c
@@
-224,7
+224,10
@@
gst_gl_filter_reset (GstGLFilter * filter)
filter);
}
//blocking call, delete the FBO
- gst_gl_context_del_fbo (filter->context, filter->fbo, filter->depthbuffer);
+ if (filter->fbo != 0) {
+ gst_gl_context_del_fbo (filter->context, filter->fbo,
+ filter->depthbuffer);
+ }
gst_object_unref (filter->context);
filter->context = NULL;
}