ext, gst: fix indentation

This commit is contained in:
Tim-Philipp Müller 2016-09-15 09:52:31 +01:00
parent e6d188967a
commit cae9ec0ad8
4 changed files with 9 additions and 8 deletions

View file

@ -234,7 +234,7 @@ jack_shutdown_cb (void *arg)
static int static int
jack_sample_rate_cb (jack_nframes_t nframes, void *arg) jack_sample_rate_cb (jack_nframes_t nframes, void *arg)
{ {
jack_shutdown_cb(arg); jack_shutdown_cb (arg);
return 0; return 0;
} }
@ -242,7 +242,7 @@ jack_sample_rate_cb (jack_nframes_t nframes, void *arg)
static int static int
jack_buffer_size_cb (jack_nframes_t nframes, void *arg) jack_buffer_size_cb (jack_nframes_t nframes, void *arg)
{ {
jack_shutdown_cb(arg); jack_shutdown_cb (arg);
return 0; return 0;
} }

View file

@ -11,7 +11,8 @@
#include "dboolhuff.h" #include "dboolhuff.h"
#ifdef _MSC_VER #ifdef _MSC_VER
__declspec(align(16)) const unsigned char vp8_norm[256] = { __declspec (align (16))
const unsigned char vp8_norm[256] = {
#else #else
const unsigned char vp8_norm[256] __attribute__ ((aligned (16))) = { const unsigned char vp8_norm[256] __attribute__ ((aligned (16))) = {
#endif #endif

View file

@ -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, GstClockTime round_trip_in_ns = gst_util_uint64_scale (round_trip,
GST_SECOND, 65536); GST_SECOND, 65536);
/* Sanity check to avoid always ignoring PLI/FIR if we receive RTCP /* Sanity check to avoid always ignoring PLI/FIR if we receive RTCP
* packets with erroneous values resulting in crazy high RTT. */ * packets with erroneous values resulting in crazy high RTT. */
if (round_trip_in_ns > 5 * GST_SECOND) if (round_trip_in_ns > 5 * GST_SECOND)
round_trip_in_ns = GST_SECOND / 2; round_trip_in_ns = GST_SECOND / 2;
if (current_time - sess->last_keyframe_request < 2 * round_trip_in_ns) { if (current_time - sess->last_keyframe_request < 2 * round_trip_in_ns) {
GST_DEBUG ("Ignoring %s request because one was send without one " GST_DEBUG ("Ignoring %s request because one was send without one "

View file

@ -123,7 +123,7 @@ gst_video_flip_video_direction_interface_init (GstVideoDirectionInterface *
#define gst_video_flip_parent_class parent_class #define gst_video_flip_parent_class parent_class
G_DEFINE_TYPE_WITH_CODE (GstVideoFlip, gst_video_flip, GST_TYPE_VIDEO_FILTER, G_DEFINE_TYPE_WITH_CODE (GstVideoFlip, gst_video_flip, GST_TYPE_VIDEO_FILTER,
G_IMPLEMENT_INTERFACE (GST_TYPE_VIDEO_DIRECTION, G_IMPLEMENT_INTERFACE (GST_TYPE_VIDEO_DIRECTION,
gst_video_flip_video_direction_interface_init)) gst_video_flip_video_direction_interface_init));
static GstCaps * static GstCaps *
gst_video_flip_transform_caps (GstBaseTransform * trans, gst_video_flip_transform_caps (GstBaseTransform * trans,