X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fold%2Ftestsuite%2Fcleanup%2Fcleanup3.c;h=c2a35fe3887d6798d271ffe77151638a351d6a00;hb=a967370df58163d7f5219a285a8331b3f79930a3;hp=cdd102a005e512a6005ca1430c43999264b7f224;hpb=b8edc59edb7c71b3edcc9d51bf6f6d145e60df91;p=platform%2Fupstream%2Fgstreamer.git diff --git a/tests/old/testsuite/cleanup/cleanup3.c b/tests/old/testsuite/cleanup/cleanup3.c index cdd102a..c2a35fe 100644 --- a/tests/old/testsuite/cleanup/cleanup3.c +++ b/tests/old/testsuite/cleanup/cleanup3.c @@ -15,8 +15,9 @@ create_pipeline (void) queue = gst_element_factory_make ("queue", "queue"); gst_bin_add (GST_BIN (thread), fakesink); gst_bin_add (GST_BIN (thread), queue); - gst_element_link (queue, fakesink); - gst_element_add_ghost_pad (thread, gst_element_get_pad (queue, "sink"), "sink"); + gst_element_link (queue, fakesink); + gst_element_add_ghost_pad (thread, gst_element_get_pad (queue, "sink"), + "sink"); gst_element_link (fakesrc, thread); @@ -29,13 +30,13 @@ create_pipeline (void) } gint -main (gint argc, gchar *argv[]) +main (gint argc, gchar * argv[]) { GstElement *pipeline; gint i = 10000; gint step = 100; - free (malloc(8)); /* -lefence */ + free (malloc (8)); /* -lefence */ gst_init (&argc, &argv); @@ -45,7 +46,7 @@ main (gint argc, gchar *argv[]) if (i % step == 0) fprintf (stderr, "%10d\r", i); pipeline = create_pipeline (); - + gst_element_set_state (pipeline, GST_STATE_PLAYING); while (gst_bin_iterate (GST_BIN (pipeline)));