mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
glvideomixer: fix checker vbo leak
https://bugzilla.gnome.org/show_bug.cgi?id=760925
This commit is contained in:
parent
5a7f92aa51
commit
18a643d36f
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue