summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-07-02 15:59:16 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2013-07-02 15:59:16 +0200
commitb2f44fd4dbc5da85132e0f549517bc86db6acf78 (patch)
treef24f4ae25f606ea694ed78d3e3bca775ef537f63 /tests
parent714e84d891137c5b9c9767375d3eb5a20fe0e3b0 (diff)
tests: fix compilation
Diffstat (limited to 'tests')
-rw-r--r--tests/check/gst/mediafactory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/gst/mediafactory.c b/tests/check/gst/mediafactory.c
index 75667cf..ab791cd 100644
--- a/tests/check/gst/mediafactory.c
+++ b/tests/check/gst/mediafactory.c
@@ -178,7 +178,7 @@ GST_START_TEST (test_addresspool)
fail_unless (pool == tmppool);
g_object_unref (tmppool);
- addr = gst_rtsp_stream_get_address (stream);
+ addr = gst_rtsp_stream_get_multicast_address (stream, G_SOCKET_FAMILY_IPV4);
fail_unless (addr != NULL);
fail_unless (addr->port == 5000);
fail_unless (addr->n_ports == 2);
@@ -192,7 +192,7 @@ GST_START_TEST (test_addresspool)
fail_unless (pool == tmppool);
g_object_unref (tmppool);
- addr = gst_rtsp_stream_get_address (stream);
+ addr = gst_rtsp_stream_get_multicast_address (stream, G_SOCKET_FAMILY_IPV4);
fail_unless (addr == NULL);