diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-10 12:27:53 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-10 12:27:53 +0200 |
commit | 4cdfc4b9001f084673d4e8d5212e4f557f4e399e (patch) | |
tree | 0ddb0de314db1b2dd730f6cb3997eff4fbcc2aa1 | |
parent | f25e4e4743ce3b8bcb038243d022796b05603031 (diff) |
check: fix appsink test
Fix the appsink test now that the method signature changed.
-rw-r--r-- | tests/check/elements/appsink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/elements/appsink.c b/tests/check/elements/appsink.c index b206e1039..f31847f13 100644 --- a/tests/check/elements/appsink.c +++ b/tests/check/elements/appsink.c @@ -68,10 +68,12 @@ notify_test_function (gpointer userdata) global_testdata = operate_on_data (GPOINTER_TO_INT (userdata)); } -void +static GstFlowReturn callback_function (GstAppSink * appsink, gpointer callback_data) { global_testdata = operate_on_data (*((gint *) callback_data)); + + return GST_FLOW_OK; } void |