mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Some fixes
Original commit message from CVS: Some fixes
This commit is contained in:
parent
e70ed3083c
commit
783ceadd4d
3 changed files with 11 additions and 6 deletions
|
@ -85,9 +85,6 @@ typedef enum {
|
|||
GST_BUFFER_ORIGINAL,
|
||||
GST_BUFFER_DONTFREE,
|
||||
|
||||
GST_BUFFER_FLUSH,
|
||||
GST_BUFFER_EOS,
|
||||
GST_BUFFER_DISCONTINUOUS,
|
||||
} GstBufferFlags;
|
||||
|
||||
|
||||
|
|
12
test/lat.c
12
test/lat.c
|
@ -86,6 +86,10 @@ GstPipeline *simple(int argc, int argi, char *argv[]) {
|
|||
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);
|
||||
|
||||
|
@ -111,6 +115,10 @@ GstPipeline *queue(int argc, int argi, char *argv[]) {
|
|||
}
|
||||
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);
|
||||
|
||||
|
@ -159,8 +167,8 @@ struct test {
|
|||
};
|
||||
|
||||
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}
|
||||
};
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ int main(int argc, char **argv)
|
|||
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");
|
||||
|
|
Loading…
Reference in a new issue