mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
gstreamer: re-indent with GNU indent 2.2.12
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4182>
This commit is contained in:
parent
fba06cfc76
commit
574e6b7994
22 changed files with 99 additions and 93 deletions
|
@ -386,7 +386,8 @@ tcase_run_tfun_nofork (SRunner * sr, TCase * tc, TF * tfun, int i)
|
||||||
{
|
{
|
||||||
TestResult *tr;
|
TestResult *tr;
|
||||||
struct timespec ts_start = { 0, 0 }, ts_end = {
|
struct timespec ts_start = { 0, 0 }, ts_end = {
|
||||||
0, 0};
|
0, 0
|
||||||
|
};
|
||||||
|
|
||||||
tr = tcase_run_checked_setup (sr, tc);
|
tr = tcase_run_checked_setup (sr, tc);
|
||||||
if (tr == NULL) {
|
if (tr == NULL) {
|
||||||
|
@ -448,7 +449,8 @@ tcase_run_tfun_fork (SRunner * sr, TCase * tc, TF * tfun, int i)
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
int status = 0;
|
int status = 0;
|
||||||
struct timespec ts_start = { 0, 0 }, ts_end = {
|
struct timespec ts_start = { 0, 0 }, ts_end = {
|
||||||
0, 0};
|
0, 0
|
||||||
|
};
|
||||||
|
|
||||||
timer_t timerid;
|
timer_t timerid;
|
||||||
struct itimerspec timer_spec;
|
struct itimerspec timer_spec;
|
||||||
|
|
|
@ -615,7 +615,8 @@ static struct
|
||||||
(GstControlSourceGetValueArray) interpolate_cubic_get_value_array}, {
|
(GstControlSourceGetValueArray) interpolate_cubic_get_value_array}, {
|
||||||
(GstControlSourceGetValue) interpolate_cubic_monotonic_get,
|
(GstControlSourceGetValue) interpolate_cubic_monotonic_get,
|
||||||
(GstControlSourceGetValueArray)
|
(GstControlSourceGetValueArray)
|
||||||
interpolate_cubic_monotonic_get_value_array}};
|
interpolate_cubic_monotonic_get_value_array}
|
||||||
|
};
|
||||||
|
|
||||||
static const guint num_interpolation_modes = G_N_ELEMENTS (interpolation_modes);
|
static const guint num_interpolation_modes = G_N_ELEMENTS (interpolation_modes);
|
||||||
|
|
||||||
|
|
|
@ -339,7 +339,8 @@ GST_START_TEST (test_internal_links)
|
||||||
GstIteratorResult res;
|
GstIteratorResult res;
|
||||||
GValue val1 = { 0, }
|
GValue val1 = { 0, }
|
||||||
, val2 = {
|
, val2 = {
|
||||||
0,};
|
0,
|
||||||
|
};
|
||||||
|
|
||||||
tee = gst_check_setup_element ("tee");
|
tee = gst_check_setup_element ("tee");
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,6 @@ GST_DEVICE_PROVIDER_REGISTER_DECLARE (testdeviceprovider);
|
||||||
|
|
||||||
GST_DEVICE_PROVIDER_REGISTER_DEFINE (testdeviceprovider, "testdeviceprovider",
|
GST_DEVICE_PROVIDER_REGISTER_DEFINE (testdeviceprovider, "testdeviceprovider",
|
||||||
1, gst_test_device_provider_get_type ())
|
1, gst_test_device_provider_get_type ())
|
||||||
|
|
||||||
static void register_test_device_provider (void)
|
static void register_test_device_provider (void)
|
||||||
{
|
{
|
||||||
gst_device_provider_register (NULL, "testdeviceprovider", 1,
|
gst_device_provider_register (NULL, "testdeviceprovider", 1,
|
||||||
|
|
|
@ -2806,7 +2806,8 @@ GST_START_TEST (test_compare_caps)
|
||||||
{
|
{
|
||||||
GValue value = { 0 }
|
GValue value = { 0 }
|
||||||
, value2 = {
|
, value2 = {
|
||||||
0};
|
0
|
||||||
|
};
|
||||||
|
|
||||||
g_value_init (&value, GST_TYPE_CAPS);
|
g_value_init (&value, GST_TYPE_CAPS);
|
||||||
g_value_init (&value2, GST_TYPE_CAPS);
|
g_value_init (&value2, GST_TYPE_CAPS);
|
||||||
|
@ -3294,7 +3295,8 @@ GST_START_TEST (test_stepped_int_range_ops)
|
||||||
"[10, 20, 5]", "union", "5", "[5, 20, 5]"}, {
|
"[10, 20, 5]", "union", "5", "[5, 20, 5]"}, {
|
||||||
"[10, 20, 5]", "union", "12", NULL}, {
|
"[10, 20, 5]", "union", "12", NULL}, {
|
||||||
"[10, 20, 5]", "union", "30", NULL}, {
|
"[10, 20, 5]", "union", "30", NULL}, {
|
||||||
"[10, 20, 5]", "union", "25", "[10, 25, 5]"},};
|
"[10, 20, 5]", "union", "25", "[10, 25, 5]"},
|
||||||
|
};
|
||||||
|
|
||||||
for (n = 0; n < G_N_ELEMENTS (ranges); ++n) {
|
for (n = 0; n < G_N_ELEMENTS (ranges); ++n) {
|
||||||
gchar *end = NULL;
|
gchar *end = NULL;
|
||||||
|
@ -3398,7 +3400,8 @@ GST_START_TEST (test_structure_single_ops)
|
||||||
} single_struct[] = {
|
} single_struct[] = {
|
||||||
{
|
{
|
||||||
"foo,bar=(int)1", TRUE, TRUE}, {
|
"foo,bar=(int)1", TRUE, TRUE}, {
|
||||||
"foo,bar=(int)[1,2]", FALSE, TRUE},};
|
"foo,bar=(int)[1,2]", FALSE, TRUE},
|
||||||
|
};
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (single_struct); i++) {
|
for (i = 0; i < G_N_ELEMENTS (single_struct); i++) {
|
||||||
|
|
Loading…
Reference in a new issue