3 int main(int argc,char *argv[])
5 GstElement *bin, *element;
8 free (malloc(8)); /* -lefence */
10 gst_init (&argc, &argv);
14 bin = gst_pipeline_new ("pipeline");
18 fprintf (stderr, "+");
20 element = gst_element_factory_make ("tee", "tee");
24 gst_element_request_pad_by_name (element, "src%d");
26 gst_bin_add (GST_BIN (bin), element);
27 gst_bin_remove (GST_BIN (bin), element);
30 fprintf (stderr, "+\n");
32 gst_object_unref (GST_OBJECT (bin));