11 gst_init (NULL, NULL);
13 pipeline = gst_parse_launch ("fakesrc ! fakesink", NULL);
14 g_assert (pipeline != NULL);
16 gst_element_set_state (pipeline, GST_STATE_PLAYING);
18 for (i = 0; i < 100; i++) {
20 g_print ("%s", (i & 1) ? "+" : "-");
24 gst_element_set_state (pipeline, GST_STATE_NULL);
25 gst_object_unref (GST_OBJECT (pipeline));