Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-09-23 11:47:31 +0400
committerEdward Hervey <bilboed@bilboed.com>2014-09-23 11:48:27 +0400
commit5765db50a19498e3d1576b4279cb2ca984da9dcd (patch)
treefb94be3aa979b6f732bc0d9566638a9fdd8ed7a9 /tests/check/elements
parent9e47ea2dc811315f492e84b746a9304a0d5b9edf (diff)
check/soup: Temporarily disable G_ENABLE_DIAGNOSTIC
The SOUP_SERVER_PORT property has been deprecated in recent libsoup versions.
Diffstat (limited to 'tests/check/elements')
-rw-r--r--tests/check/elements/souphttpsrc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
index 33431aca7..dfb682b88 100644
--- a/tests/check/elements/souphttpsrc.c
+++ b/tests/check/elements/souphttpsrc.c
@@ -602,7 +602,12 @@ run_server (guint * http_port, guint * https_port)
*http_port = *https_port = 0;
+ /* The G_ENABLE_DIAGNOSTIC is temporarily overriden to avoid
+ * property deprecation warnings (for the SOUP_SERVER_PORT
+ * property) */
+ g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
server = soup_server_new (SOUP_SERVER_PORT, port, NULL);
+ g_setenv ("G_ENABLE_DIAGNOSTIC", "1", TRUE);
if (!server) {
GST_DEBUG ("Unable to bind to server port %u", port);
return FALSE;