session: indent

This commit is contained in:
Wim Taymans 2010-03-16 18:34:43 +01:00
parent d749f1e7d5
commit 4eccdd9dd7

View file

@ -60,8 +60,9 @@ gst_rtsp_session_class_init (GstRTSPSessionClass * klass)
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_TIMEOUT,
g_param_spec_uint ("timeout", "timeout", "the timeout of the session (0 = never)",
0, G_MAXUINT, DEFAULT_TIMEOUT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_param_spec_uint ("timeout", "timeout",
"the timeout of the session (0 = never)", 0, G_MAXUINT,
DEFAULT_TIMEOUT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
static void
@ -88,7 +89,8 @@ gst_rtsp_session_free_stream (GstRTSPSessionStream *stream)
}
static void
gst_rtsp_session_free_media (GstRTSPSessionMedia *media, GstRTSPSession *session)
gst_rtsp_session_free_media (GstRTSPSessionMedia * media,
GstRTSPSession * session)
{
guint size, i;
@ -206,7 +208,9 @@ gst_rtsp_session_manage_media (GstRTSPSession *sess, const GstRTSPUrl *uri,
/* prealloc the streams now, filled with NULL */
n_streams = gst_rtsp_media_n_streams (media);
result->streams = g_array_sized_new (FALSE, TRUE, sizeof (GstRTSPSessionStream *), n_streams);
result->streams =
g_array_sized_new (FALSE, TRUE, sizeof (GstRTSPSessionStream *),
n_streams);
g_array_set_size (result->streams, n_streams);
sess->medias = g_list_prepend (sess->medias, result);
@ -327,7 +331,8 @@ no_media:
}
gboolean
gst_rtsp_session_media_alloc_channels (GstRTSPSessionMedia *media, GstRTSPRange *range)
gst_rtsp_session_media_alloc_channels (GstRTSPSessionMedia * media,
GstRTSPRange * range)
{
range->min = media->counter++;
range->max = media->counter++;
@ -508,7 +513,8 @@ gst_rtsp_session_stream_set_transport (GstRTSPSessionStream *stream,
}
if (stream->media_stream->session)
g_object_get (stream->media_stream->session, "internal-ssrc", &st->ssrc, NULL);
g_object_get (stream->media_stream->session, "internal-ssrc", &st->ssrc,
NULL);
/* keep track of the transports in the stream. */
if (stream->trans.transport)
@ -583,4 +589,3 @@ gst_rtsp_session_media_set_state (GstRTSPSessionMedia *media, GstState state)
return ret;
}