mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
glvideomixer: fix checker vbo leak
https://bugzilla.gnome.org/show_bug.cgi?id=760925
This commit is contained in:
parent
0ae665e35c
commit
7287564f20
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;
|
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,
|
gst_aggregator_iterate_sinkpads (GST_AGGREGATOR (video_mixer), _reset_pad_gl,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue