summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2001-05-10 20:28:51 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2001-05-10 20:28:51 +0000
commitc447ea71a4cf0048e3d1e47aeaeee6e58699c98b (patch)
tree154186a4b33456f135becd281f9e53f01ef0c0f3 /tests/sched
parent9eaced94afc1e5e58a0199383f00fefa3c98f911 (diff)
Pass buffer in handoff signal
Original commit message from CVS: Pass buffer in handoff signal
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/runxml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sched/runxml.c b/tests/sched/runxml.c
index e7018365a..eb42490e7 100644
--- a/tests/sched/runxml.c
+++ b/tests/sched/runxml.c
@@ -5,7 +5,7 @@
static guint outcount, incount;
static void
-buffer_handoff_sink (GstElement *src, GstElement *bin)
+buffer_handoff_sink (GstElement *src, GstBuffer *buf, GstElement *bin)
{
g_print ("\n\n *** buffer arrived in sink ***\n\n");
gst_element_set_state(bin, GST_STATE_NULL);
@@ -14,7 +14,7 @@ buffer_handoff_sink (GstElement *src, GstElement *bin)
}
static void
-buffer_handoff_src (GstElement *src, GstElement *bin)
+buffer_handoff_src (GstElement *src, GstBuffer *buf, GstElement *bin)
{
g_print ("\n\n *** buffer started in src ***\n\n");
incount++;