mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
gst-libs: gl, video: use MAY_BE_LEAKED flag
https://bugzilla.gnome.org/show_bug.cgi?id=767162
This commit is contained in:
parent
11bb4454a8
commit
f2c0e89021
1 changed files with 4 additions and 0 deletions
|
@ -2230,6 +2230,10 @@ gst_video_aggregator_init (GstVideoAggregator * vagg,
|
|||
g_mutex_lock (&sink_caps_mutex);
|
||||
if (klass->sink_non_alpha_caps == NULL) {
|
||||
klass->sink_non_alpha_caps = _get_non_alpha_caps_from_template (klass);
|
||||
|
||||
/* The caps is cached */
|
||||
GST_MINI_OBJECT_FLAG_SET (klass->sink_non_alpha_caps,
|
||||
GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED);
|
||||
}
|
||||
g_mutex_unlock (&sink_caps_mutex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue