summaryrefslogtreecommitdiff
path: root/gst/speed
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-15 19:32:27 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-15 19:32:27 +0000
commit4fd57bbe3fef59592a8664dcc9fa2ab32ae99c69 (patch)
tree8f41b30e571aa6ed88b53f5471d5e38461136e60 /gst/speed
parent9f4226fe55f09cf5809376b467aa3f46dbf7b5c2 (diff)
downloadgstreamer-plugins-bad-4fd57bbe3fef59592a8664dcc9fa2ab32ae99c69.tar.gz
don't mix tabs and spaces
Original commit message from CVS: don't mix tabs and spaces
Diffstat (limited to 'gst/speed')
-rw-r--r--gst/speed/demo-mp3.c4
-rw-r--r--gst/speed/gstspeed.c11
2 files changed, 8 insertions, 7 deletions
diff --git a/gst/speed/demo-mp3.c b/gst/speed/demo-mp3.c
index 5b83347a1..f9a169ae9 100644
--- a/gst/speed/demo-mp3.c
+++ b/gst/speed/demo-mp3.c
@@ -49,7 +49,7 @@ main (int argc, char **argv)
vbox = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox);
hscale = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (1.0, 0.01, 4.0,
- 0.1, 0.0, 0.0)));
+ 0.1, 0.0, 0.0)));
gtk_scale_set_digits (GTK_SCALE (hscale), 2);
gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS);
button = gtk_button_new_with_label ("quit");
@@ -68,7 +68,7 @@ main (int argc, char **argv)
g_object_set (osssink, "fragment", 0x00180008, NULL);
gtk_signal_connect (GTK_OBJECT (gtk_range_get_adjustment (GTK_RANGE
- (hscale))), "value_changed", G_CALLBACK (set_speed), speed);
+ (hscale))), "value_changed", G_CALLBACK (set_speed), speed);
pipeline = gst_pipeline_new ("app");
gst_bin_add_many (GST_BIN (pipeline), filesrc, mad, stereo2mono, speed,
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index 12752f12c..090d13d0e 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -60,7 +60,7 @@ static GstStaticPadTemplate gst_speed_sink_template =
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_AUDIO_INT_PAD_TEMPLATE_CAPS "; "
- GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS)
+ GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS)
);
static GstStaticPadTemplate gst_speed_src_template =
@@ -68,7 +68,7 @@ static GstStaticPadTemplate gst_speed_src_template =
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_AUDIO_INT_PAD_TEMPLATE_CAPS "; "
- GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS)
+ GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS)
);
static void speed_base_init (gpointer g_class);
@@ -157,8 +157,9 @@ gst_speed_get_type (void)
0,
(GInstanceInitFunc) speed_init,
};
+
speed_type =
- g_type_register_static (GST_TYPE_ELEMENT, "GstSpeed", &speed_info, 0);
+ g_type_register_static (GST_TYPE_ELEMENT, "GstSpeed", &speed_info, 0);
}
return speed_type;
}
@@ -187,7 +188,7 @@ speed_class_init (GstSpeedClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SPEED,
g_param_spec_float ("speed", "speed", "speed",
- 0.1, 40.0, 1.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ 0.1, 40.0, 1.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
}
static void
@@ -250,7 +251,7 @@ speed_loop (GstElement * element)
#undef _FORMAT
} else {
GST_ELEMENT_ERROR (filter, CORE, NEGOTIATION, (NULL),
- ("format wasn't negotiated before chain function"));
+ ("format wasn't negotiated before chain function"));
gst_element_yield (element);
}
}