gldownload: unref glcontext after usage
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8807>
This commit is contained in:
parent
9ffab2199d
commit
bf24ca6d29
@ -1089,6 +1089,9 @@ gst_gl_download_element_transform_caps (GstBaseTransform * bt,
|
||||
result = tmp;
|
||||
}
|
||||
|
||||
if (context)
|
||||
gst_object_unref (context);
|
||||
|
||||
GST_DEBUG_OBJECT (bt, "returning caps %" GST_PTR_FORMAT, result);
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user