summaryrefslogtreecommitdiff
path: root/testsuite/states
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-13 15:27:01 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-13 15:27:01 +0000
commita967370df58163d7f5219a285a8331b3f79930a3 (patch)
treed6c4b98d58ce96273f7e99f836d4bbef0e7e2cce /testsuite/states
parentb8edc59edb7c71b3edcc9d51bf6f6d145e60df91 (diff)
gst-indent run on core
Original commit message from CVS: gst-indent run on core
Diffstat (limited to 'testsuite/states')
-rw-r--r--testsuite/states/locked.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/testsuite/states/locked.c b/testsuite/states/locked.c
index 550aee5c2..ecf969ec3 100644
--- a/testsuite/states/locked.c
+++ b/testsuite/states/locked.c
@@ -20,20 +20,20 @@
#include <gst/gst.h>
gint
-main (gint argc, gchar *argv[])
+main (gint argc, gchar * argv[])
{
GstElement *pipeline;
- GstElement *fakesrc1, *fakesink1;
- GstElement *fakesrc2, *fakesink2;
+ GstElement *fakesrc1, *fakesink1;
+ GstElement *fakesrc2, *fakesink2;
gst_init (&argc, &argv);
pipeline = gst_pipeline_new ("pipeline");
-
+
fakesrc1 = gst_element_factory_make ("fakesrc", "fakesrc1");
g_object_set (G_OBJECT (fakesrc1), "num_buffers", 5, NULL);
fakesink1 = gst_element_factory_make ("fakesink", "fakesink1");
-
+
gst_bin_add_many (GST_BIN (pipeline), fakesrc1, fakesink1, NULL);
gst_element_link_pads (fakesrc1, "src", fakesink1, "sink");
@@ -44,7 +44,8 @@ main (gint argc, gchar *argv[])
gst_bin_add_many (GST_BIN (pipeline), fakesrc2, fakesink2, NULL);
gst_element_link_pads (fakesrc2, "src", fakesink2, "sink");
- g_signal_connect (G_OBJECT (pipeline), "deep_notify", G_CALLBACK (gst_element_default_deep_notify), NULL);
+ g_signal_connect (G_OBJECT (pipeline), "deep_notify",
+ G_CALLBACK (gst_element_default_deep_notify), NULL);
GST_FLAG_SET (fakesrc2, GST_ELEMENT_LOCKED_STATE);
GST_FLAG_SET (fakesink2, GST_ELEMENT_LOCKED_STATE);
@@ -63,6 +64,6 @@ main (gint argc, gchar *argv[])
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (pipeline));
-
+
return 0;
}