mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tests: souphttpsrc: use SoupKnownStatusCode if needed
From libsoup docs: Prior to 2.44 SoupStatus was called SoupKnownStatusCode, but the individual values have always had the names they have now. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=727329
This commit is contained in:
parent
31f36d805a
commit
f187d9fc7c
1 changed files with 5 additions and 0 deletions
|
@ -34,8 +34,13 @@
|
||||||
#include <libsoup/soup-auth-domain.h>
|
#include <libsoup/soup-auth-domain.h>
|
||||||
#include <libsoup/soup-auth-domain-basic.h>
|
#include <libsoup/soup-auth-domain-basic.h>
|
||||||
#include <libsoup/soup-auth-domain-digest.h>
|
#include <libsoup/soup-auth-domain-digest.h>
|
||||||
|
#include <libsoup/soup-version.h>
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
|
#if !(SOUP_CHECK_VERSION(2, 44, 0))
|
||||||
|
#define SoupStatus SoupKnownStatusCode
|
||||||
|
#endif
|
||||||
|
|
||||||
static guint http_port = 0, https_port = 0;
|
static guint http_port = 0, https_port = 0;
|
||||||
|
|
||||||
gboolean redirect = TRUE;
|
gboolean redirect = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue