mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
tests: fix compilation
This commit is contained in:
parent
714e84d891
commit
b2f44fd4db
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ GST_START_TEST (test_addresspool)
|
||||||
fail_unless (pool == tmppool);
|
fail_unless (pool == tmppool);
|
||||||
g_object_unref (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 != NULL);
|
||||||
fail_unless (addr->port == 5000);
|
fail_unless (addr->port == 5000);
|
||||||
fail_unless (addr->n_ports == 2);
|
fail_unless (addr->n_ports == 2);
|
||||||
|
@ -192,7 +192,7 @@ GST_START_TEST (test_addresspool)
|
||||||
fail_unless (pool == tmppool);
|
fail_unless (pool == tmppool);
|
||||||
g_object_unref (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 == NULL);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue