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:
1e4c9c1
)
glvideomixer: fix checker vbo leak
author
Wang Xin-yu (王昕宇)
<comicfans44@gmail.com>
Thu, 21 Jan 2016 08:10:48 +0000
(16:10 +0800)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:15 +0000
(19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=760925
ext/gl/gstglvideomixer.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglvideomixer.c
b/ext/gl/gstglvideomixer.c
index da295252bcedb745e9cb346c08845612d2e2e465..273d06739132e8e9cd6800cd7f2ca6445ddfd7ee 100644
(file)
--- a/
ext/gl/gstglvideomixer.c
+++ b/
ext/gl/gstglvideomixer.c
@@
-1081,6
+1081,11
@@
_reset_gl (GstGLContext * context, GstGLVideoMixer * video_mixer)
video_mixer->vbo_indices = 0;
}
+ if (video_mixer->checker_vbo) {
+ gl->DeleteBuffers (1, &video_mixer->checker_vbo);
+ video_mixer->checker_vbo = 0;
+ }
+
gst_aggregator_iterate_sinkpads (GST_AGGREGATOR (video_mixer), _reset_pad_gl,
NULL);
}