int main(int argc,char *argv[])
{
GstElement *bin, *element;
- gint i=10000;
+ gint i=1000000;
free (malloc(8)); /* -lefence */
while (i--)
{
+ GstPad *pad;
+
fprintf (stderr, "+");
element = gst_element_factory_make ("tee", "tee");
if (!element)
break;
- gst_element_request_pad_by_name (element, "src%d");
+ pad = gst_element_request_pad_by_name (element, "src%d");
gst_bin_add (GST_BIN (bin), element);
gst_bin_remove (GST_BIN (bin), element);