DEBUG("attempting to set argument '%s'\n", arg);
gtk_object_set(GTK_OBJECT(previous),argname,argval,NULL);
g_free(argname);
+ i++;
+ continue;
} else {
// we have an element
DEBUG("attempting to create element '%s'\n",arg);
int main(int argc,char *argv[]) {
GstElement *pipeline;
int firstarg;
+ guint i;
gst_init(&argc,&argv);
VERBOSE("RUNNING pipeline\n");
gst_element_set_state(pipeline,GST_STATE_PLAYING);
- gst_bin_iterate (GST_BIN (pipeline));
+ for (i=0; i < 1000; i++)
+ gst_bin_iterate (GST_BIN (pipeline));
fprintf(stderr,"\n");