souphttpsrc: Don't use the source element after setup from the session thread
authorSebastian Dröge <sebastian@centricular.com>
Fri, 28 Jan 2022 13:33:04 +0000 (15:33 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 28 Jan 2022 13:41:54 +0000 (15:41 +0200)
commit42f5873eeb505991e44d34039a24594b2b059f17
treeb6ac5810dbb1f6c5692c7cb636d5c1a7e5196674
parent080d85b19a3037251411060c7acad72924c9f9ec
souphttpsrc: Don't use the source element after setup from the session thread

The source element might be gone already if the session is shared with
other source elements.

As a consequence, do all logging via the session object instead of using
the source element.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1594>
subprojects/gst-plugins-good/ext/soup/gstsouphttpclientsink.c
subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c
subprojects/gst-plugins-good/ext/soup/gstsouputils.c
subprojects/gst-plugins-good/ext/soup/gstsouputils.h