He Junyan 9e37fa55bf gluploadelement: Avoid race condition of inside upload creation.
The operations for the inside GstGLUploadElement->upload have race
condition. The _transform_caps() will creates this object if it does
not exist, while the _stop() and change_state() can destroy this object.
The _transform_caps() is called by the gst_base_transform_query(),
so it does not hold the stream lock. It may use the upload while the
_stop() and change_state() has already destroy that object, and then
crash.

Fix: #645
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/913>
2020-11-04 13:55:07 +08:00
..
2019-05-21 01:49:48 +00:00
2017-12-09 19:31:51 +00:00
2017-12-09 19:31:57 +00:00
2017-12-09 19:31:57 +00:00
2019-05-21 01:49:48 +00:00
2017-12-09 19:31:57 +00:00