soup: Fix pre-processor macros in souploader for libsoup-3.0
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 25 Mar 2022 19:26:04 +0000 (00:56 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Mar 2022 18:30:03 +0000 (18:30 +0000)
commit6c910dc7461fa89a7b7a66ae3b6f87c57c039a49
tree64268b65dc9d854a17ac57d8b05acca131ed675f
parent00187ddb0cbfa8508606aa9b801495fd447ce4d4
soup: Fix pre-processor macros in souploader for libsoup-3.0

Some of the preprocessor conditionals in the loader were very broken
with libsoup-3.0 + --default-library=static

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1111

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2032>
subprojects/gst-plugins-good/ext/soup/gstsouploader.c
subprojects/gst-plugins-good/ext/soup/gstsouploader.h