2002-01-05 02:04:28 +00:00
|
|
|
#include <gst/gst.h>
|
|
|
|
#include <stdlib.h>
|
2002-04-04 19:28:23 +00:00
|
|
|
#include <string.h>
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
/* FIXME: WTF does this do? */
|
|
|
|
|
|
|
|
static guint64 max = 0, min = -1, total = 0;
|
|
|
|
static guint count = 0;
|
|
|
|
static guint print_del = 1;
|
|
|
|
static guint iterations = 0;
|
|
|
|
static guint mhz = 0;
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
void
|
|
|
|
handoff_src (GstElement * src, GstBuffer * buf, gpointer user_data)
|
|
|
|
{
|
2005-09-27 09:57:20 +00:00
|
|
|
gst_trace_read_tsc ((gint64 *) & GST_BUFFER_TIMESTAMP (buf));
|
2002-01-05 02:04:28 +00:00
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
void
|
|
|
|
handoff_sink (GstElement * sink, GstBuffer * buf, gpointer user_data)
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
guint64 end, d, avg;
|
|
|
|
guint avg_ns;
|
|
|
|
|
2005-09-27 09:57:20 +00:00
|
|
|
gst_trace_read_tsc ((gint64 *) & end);
|
2004-03-13 15:27:01 +00:00
|
|
|
d = end - GST_BUFFER_TIMESTAMP (buf);
|
|
|
|
if (d > max)
|
|
|
|
max = d;
|
|
|
|
if (d < min)
|
|
|
|
min = d;
|
2002-01-05 02:04:28 +00:00
|
|
|
total += d;
|
|
|
|
count++;
|
2004-03-13 15:27:01 +00:00
|
|
|
avg = total / count;
|
|
|
|
avg_ns = (guint) (1000.0 * (double) avg / (double) mhz);
|
|
|
|
|
2002-01-05 02:04:28 +00:00
|
|
|
if ((count % print_del) == 0) {
|
2004-03-13 15:27:01 +00:00
|
|
|
g_print ("%07d:%08" G_GUINT64_FORMAT " min:%08" G_GUINT64_FORMAT " max:%08"
|
2004-03-15 19:27:17 +00:00
|
|
|
G_GUINT64_FORMAT " avg:%08" G_GUINT64_FORMAT " avg-s:0.%09d\r", count,
|
|
|
|
d, min, max, avg, avg_ns);
|
2002-01-05 02:04:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GstElement *
|
|
|
|
identity_add (GstPipeline * pipeline, GstElement * first, int count)
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstElement *last, *ident;
|
|
|
|
int i;
|
|
|
|
char buf[20];
|
|
|
|
|
|
|
|
last = first;
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
for (i = 0; i < count; i++) {
|
|
|
|
snprintf (buf, 20, "identity_%03d", i);
|
|
|
|
ident = gst_element_factory_make ("identity", buf);
|
|
|
|
g_return_val_if_fail (ident != NULL, NULL);
|
|
|
|
g_object_set (G_OBJECT (ident), "silent", TRUE, NULL);
|
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (ident));
|
|
|
|
gst_pad_link (gst_element_get_pad (last, "src"),
|
2004-03-15 19:27:17 +00:00
|
|
|
gst_element_get_pad (ident, "sink"));
|
2002-01-05 02:04:28 +00:00
|
|
|
last = ident;
|
|
|
|
}
|
|
|
|
|
|
|
|
return last;
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GstElement *
|
|
|
|
fakesrc (void)
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstElement *src;
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
src = gst_element_factory_make ("fakesrc", "src");
|
|
|
|
g_return_val_if_fail (src != NULL, NULL);
|
|
|
|
g_object_set (G_OBJECT (src), "silent", TRUE, NULL);
|
|
|
|
g_object_set (G_OBJECT (src), "num_buffers", iterations, NULL);
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
g_object_set (G_OBJECT (src), "signal-handoffs", TRUE, NULL);
|
2004-03-13 15:27:01 +00:00
|
|
|
g_signal_connect (G_OBJECT (src), "handoff", G_CALLBACK (handoff_src), NULL);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
return src;
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GstElement *
|
|
|
|
fakesink (void)
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstElement *sink;
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
sink = gst_element_factory_make ("fakesink", "fakesink");
|
|
|
|
g_return_val_if_fail (sink != NULL, NULL);
|
|
|
|
g_object_set (G_OBJECT (sink), "silent", TRUE, NULL);
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
g_object_set (G_OBJECT (sink), "signal-handoffs", TRUE, NULL);
|
2004-03-13 15:27:01 +00:00
|
|
|
g_signal_connect (G_OBJECT (sink),
|
|
|
|
"handoff", G_CALLBACK (handoff_sink), NULL);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
return sink;
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GstPipeline *
|
|
|
|
simple (int argc, int argi, char *argv[])
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstPipeline *pipeline;
|
|
|
|
GstElement *last, *src, *sink;
|
|
|
|
int idents;
|
|
|
|
|
|
|
|
if ((argc - argi) < 1) {
|
2004-03-13 15:27:01 +00:00
|
|
|
fprintf (stderr, "bad params");
|
2002-01-05 02:04:28 +00:00
|
|
|
return NULL;
|
|
|
|
}
|
2004-03-13 15:27:01 +00:00
|
|
|
idents = atoi (argv[argi]);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
pipeline = GST_PIPELINE (gst_pipeline_new ("pipeline"));
|
|
|
|
g_return_val_if_fail (pipeline != NULL, NULL);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
src = fakesrc ();
|
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (src));
|
|
|
|
last = identity_add (pipeline, src, idents);
|
|
|
|
sink = fakesink ();
|
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (sink));
|
|
|
|
gst_pad_link (gst_element_get_pad (last, "src"),
|
|
|
|
gst_element_get_pad (sink, "sink"));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
return pipeline;
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GstPipeline *
|
|
|
|
queue (int argc, int argi, char *argv[])
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstPipeline *pipeline;
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
GstElement *last, *src, *sink, *src_q, *sink_q;
|
2002-01-05 02:04:28 +00:00
|
|
|
int idents;
|
|
|
|
|
|
|
|
if ((argc - argi) < 1) {
|
2004-03-13 15:27:01 +00:00
|
|
|
fprintf (stderr, "bad params");
|
2002-01-05 02:04:28 +00:00
|
|
|
return NULL;
|
|
|
|
}
|
2004-03-13 15:27:01 +00:00
|
|
|
idents = atoi (argv[argi]);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
pipeline = GST_PIPELINE (gst_pipeline_new ("pipeline"));
|
|
|
|
g_return_val_if_fail (pipeline != NULL, NULL);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
src = fakesrc ();
|
|
|
|
g_return_val_if_fail (src != NULL, NULL);
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (src));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
src_q = gst_element_factory_make ("queue", "src_q");
|
|
|
|
g_return_val_if_fail (src_q != NULL, NULL);
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (src_q));
|
2004-03-13 15:27:01 +00:00
|
|
|
gst_pad_link (gst_element_get_pad (src, "src"),
|
|
|
|
gst_element_get_pad (src_q, "sink"));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
last = identity_add (pipeline, src_q, idents);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
sink_q = gst_element_factory_make ("queue", "sink_q");
|
|
|
|
g_return_val_if_fail (sink_q != NULL, NULL);
|
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (sink_q));
|
|
|
|
gst_pad_link (gst_element_get_pad (last, "src"),
|
|
|
|
gst_element_get_pad (sink_q, "sink"));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
sink = fakesink ();
|
|
|
|
g_return_val_if_fail (sink != NULL, NULL);
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
gst_bin_add (GST_BIN (pipeline), GST_ELEMENT (sink));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
gst_pad_link (gst_element_get_pad (sink_q, "src"),
|
|
|
|
gst_element_get_pad (sink, "sink"));
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
return pipeline;
|
|
|
|
}
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
struct test
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
char *name;
|
|
|
|
char *params;
|
2004-03-13 15:27:01 +00:00
|
|
|
GstPipeline *(*func) (int argc, int argi, char *argv[]);
|
2002-01-05 02:04:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static struct test tests[] = {
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
{"simple", "ident_count", simple},
|
|
|
|
{"queue", "ident_count", queue},
|
2002-01-05 02:04:28 +00:00
|
|
|
{NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
int
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
{
|
2002-01-05 02:04:28 +00:00
|
|
|
GstPipeline *pipeline;
|
|
|
|
int i;
|
|
|
|
char *name;
|
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
gst_init (&argc, &argv);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
if (argc < 3) {
|
2004-03-13 15:27:01 +00:00
|
|
|
fprintf (stderr,
|
2004-03-15 19:27:17 +00:00
|
|
|
"usage: %s iterations print_del mhz test_name [test_params...]\n",
|
|
|
|
argv[0]);
|
2004-03-13 15:27:01 +00:00
|
|
|
for (i = 0; tests[i].name; i++) {
|
|
|
|
fprintf (stderr, " %s %s\n", tests[i].name, tests[i].params);
|
2002-01-05 02:04:28 +00:00
|
|
|
}
|
2004-03-13 15:27:01 +00:00
|
|
|
exit (1);
|
2002-01-05 02:04:28 +00:00
|
|
|
} else {
|
2004-03-13 15:27:01 +00:00
|
|
|
iterations = atoi (argv[1]);
|
|
|
|
print_del = atoi (argv[2]);
|
|
|
|
mhz = atoi (argv[3]);
|
2002-01-05 02:04:28 +00:00
|
|
|
name = argv[4];
|
|
|
|
}
|
|
|
|
|
|
|
|
pipeline = NULL;
|
2004-03-13 15:27:01 +00:00
|
|
|
for (i = 0; tests[i].name && !pipeline; i++) {
|
|
|
|
if (!strcmp (name, tests[i].name)) {
|
|
|
|
pipeline = tests[i].func (argc, 5, argv);
|
2002-01-05 02:04:28 +00:00
|
|
|
}
|
|
|
|
}
|
2004-03-13 15:27:01 +00:00
|
|
|
g_return_val_if_fail (pipeline != NULL, -1);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2002-03-19 04:10:13 +00:00
|
|
|
/*xmlSaveFile("lat.gst", gst_xml_write(GST_ELEMENT(pipeline))); */
|
2002-01-05 02:04:28 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
while (count < iterations) {
|
docs/design/part-events.txt: Small update.
Original commit message from CVS:
* docs/design/part-events.txt:
Small update.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.
* gst/gstbus.c: (gst_bus_post):
Added some comments.
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.
2005-07-22 11:47:10 +00:00
|
|
|
g_usleep (G_USEC_PER_SEC);
|
2002-01-05 02:04:28 +00:00
|
|
|
}
|
2004-03-13 15:27:01 +00:00
|
|
|
g_print ("\n");
|
2002-01-05 02:04:28 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|