mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ext, gst: fix indentation
This commit is contained in:
parent
e6d188967a
commit
cae9ec0ad8
4 changed files with 9 additions and 8 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 "
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue