summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-08-14 14:31:55 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-08-14 14:31:55 +0300
commitbd76c2f9c583cd0dd525682a337fcaa9c0a0e9c4 (patch)
treed7c8d30ae3abadd7a93156822777ba1fd9686017
parentcbe6ae3c48419be83e9ea49f49beff73449e33ff (diff)
Fix indentation again
-rw-r--r--gst/rtsp-server/rtsp-client.c10
-rw-r--r--tests/check/gst/stream.c6
2 files changed, 10 insertions, 6 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index e7d17ca..d4c5211 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -1986,12 +1986,14 @@ default_configure_client_transport (GstRTSPClient * client,
*/
/* FIXME: could be more adequately solved by making it possible
* to set a socket on multiudpsink after it has already been started */
- if (!gst_rtsp_stream_allocate_udp_sockets (ctx->stream, G_SOCKET_FAMILY_IPV4, ct,
- use_client_settings) && family == G_SOCKET_FAMILY_IPV4)
+ if (!gst_rtsp_stream_allocate_udp_sockets (ctx->stream,
+ G_SOCKET_FAMILY_IPV4, ct, use_client_settings)
+ && family == G_SOCKET_FAMILY_IPV4)
goto error_allocating_ports;
- if (!gst_rtsp_stream_allocate_udp_sockets (ctx->stream, G_SOCKET_FAMILY_IPV6, ct,
- use_client_settings) && family == G_SOCKET_FAMILY_IPV6)
+ if (!gst_rtsp_stream_allocate_udp_sockets (ctx->stream,
+ G_SOCKET_FAMILY_IPV6, ct, use_client_settings)
+ && family == G_SOCKET_FAMILY_IPV6)
goto error_allocating_ports;
if (ct->lower_transport == GST_RTSP_LOWER_TRANS_UDP_MCAST) {
diff --git a/tests/check/gst/stream.c b/tests/check/gst/stream.c
index d77180e..d71f193 100644
--- a/tests/check/gst/stream.c
+++ b/tests/check/gst/stream.c
@@ -529,9 +529,11 @@ check_multicast_client_address (const gchar * destination, guint port,
G_SOCKET_FAMILY_IPV4, transport, TRUE) == expected_res);
fail_unless (gst_rtsp_stream_add_multicast_client_address (stream,
- destination, ports.min, ports.max, G_SOCKET_FAMILY_IPV4) == expected_res);
+ destination, ports.min, ports.max,
+ G_SOCKET_FAMILY_IPV4) == expected_res);
- fail_unless (gst_rtsp_stream_complete_stream (stream, transport) == expected_res);
+ fail_unless (gst_rtsp_stream_complete_stream (stream,
+ transport) == expected_res);
fail_unless (gst_rtsp_transport_free (transport) == GST_RTSP_OK);
addr_str = gst_rtsp_stream_get_multicast_client_addresses (stream);