check: fix appsink test
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Apr 2009 10:27:53 +0000 (12:27 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 10 Apr 2009 10:27:53 +0000 (12:27 +0200)
Fix the appsink test now that the method signature changed.

tests/check/elements/appsink.c

index b206e10..f31847f 100644 (file)
@@ -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