From cae9ec0ad8f66d16ab1bd4b4ef42f4a00bf36776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 15 Sep 2016 09:52:31 +0100 Subject: [PATCH] ext, gst: fix indentation --- ext/jack/gstjackaudioclient.c | 4 ++-- gst/rtp/dboolhuff.c | 3 ++- gst/rtpmanager/rtpsession.c | 8 ++++---- gst/videofilter/gstvideoflip.c | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ext/jack/gstjackaudioclient.c b/ext/jack/gstjackaudioclient.c index 44f8e61b40..19022c082a 100644 --- a/ext/jack/gstjackaudioclient.c +++ b/ext/jack/gstjackaudioclient.c @@ -234,7 +234,7 @@ jack_shutdown_cb (void *arg) static int jack_sample_rate_cb (jack_nframes_t nframes, void *arg) { - jack_shutdown_cb(arg); + jack_shutdown_cb (arg); return 0; } @@ -242,7 +242,7 @@ jack_sample_rate_cb (jack_nframes_t nframes, void *arg) static int jack_buffer_size_cb (jack_nframes_t nframes, void *arg) { - jack_shutdown_cb(arg); + jack_shutdown_cb (arg); return 0; } diff --git a/gst/rtp/dboolhuff.c b/gst/rtp/dboolhuff.c index 6c94504870..3d0fc8f040 100644 --- a/gst/rtp/dboolhuff.c +++ b/gst/rtp/dboolhuff.c @@ -11,7 +11,8 @@ #include "dboolhuff.h" #ifdef _MSC_VER -__declspec(align(16)) const unsigned char vp8_norm[256] = { +__declspec (align (16)) + const unsigned char vp8_norm[256] = { #else const unsigned char vp8_norm[256] __attribute__ ((aligned (16))) = { #endif diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index b33e909677..8b33b6bd95 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -2575,10 +2575,10 @@ rtp_session_request_local_key_unit (RTPSession * sess, RTPSource * src, GstClockTime round_trip_in_ns = gst_util_uint64_scale (round_trip, GST_SECOND, 65536); - /* Sanity check to avoid always ignoring PLI/FIR if we receive RTCP - * packets with erroneous values resulting in crazy high RTT. */ - if (round_trip_in_ns > 5 * GST_SECOND) - round_trip_in_ns = GST_SECOND / 2; + /* Sanity check to avoid always ignoring PLI/FIR if we receive RTCP + * packets with erroneous values resulting in crazy high RTT. */ + if (round_trip_in_ns > 5 * GST_SECOND) + round_trip_in_ns = GST_SECOND / 2; if (current_time - sess->last_keyframe_request < 2 * round_trip_in_ns) { GST_DEBUG ("Ignoring %s request because one was send without one " diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index f59f93006d..c6132f5877 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -123,7 +123,7 @@ gst_video_flip_video_direction_interface_init (GstVideoDirectionInterface * #define gst_video_flip_parent_class parent_class G_DEFINE_TYPE_WITH_CODE (GstVideoFlip, gst_video_flip, GST_TYPE_VIDEO_FILTER, G_IMPLEMENT_INTERFACE (GST_TYPE_VIDEO_DIRECTION, - gst_video_flip_video_direction_interface_init)) + gst_video_flip_video_direction_interface_init)); static GstCaps * gst_video_flip_transform_caps (GstBaseTransform * trans,