return NULL;
}
idents = atoi(argv[argi]);
+ if ((argc - argi) == 2) {
+ gst_schedulerfactory_set_default_name (argv[argi+1]);
+ }
+
pipeline = GST_PIPELINE(gst_pipeline_new("pipeline"));
g_return_val_if_fail(pipeline != NULL,NULL);
}
idents = atoi(argv[argi]);
+ if ((argc - argi) == 2) {
+ gst_schedulerfactory_set_default_name (argv[argi+1]);
+ }
+
pipeline = GST_PIPELINE(gst_pipeline_new("pipeline"));
g_return_val_if_fail(pipeline != NULL,NULL);
};
static struct test tests[] = {
- {"simple", "ident_count", simple},
- {"queue", "ident_count", queue},
+ {"simple", "ident_count [scheduler_name]", simple},
+ {"queue", "ident_count [scheduler_name]", queue},
{NULL, NULL, NULL}
};
gtk_signal_connect(GTK_OBJECT(button), "clicked", gtk_main_quit, NULL);
gtk_widget_show(button);
- disksrc = gst_elementfactory_make("disksrc", "disksrc");
+ disksrc = gst_elementfactory_make("filesrc", "filesrc");
mad = gst_elementfactory_make("mad", "mad");
stereo2mono = gst_elementfactory_make("stereo2mono", "stereo2mono");
speed = gst_elementfactory_make("speed", "speed");