From 4cdfc4b9001f084673d4e8d5212e4f557f4e399e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 10 Apr 2009 12:27:53 +0200 Subject: [PATCH] check: fix appsink test Fix the appsink test now that the method signature changed. --- tests/check/elements/appsink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.34.1