Commit 4cdfc4b9 authored by Wim Taymans's avatar Wim Taymans

check: fix appsink test

Fix the appsink test now that the method signature changed.
parent f25e4e47
...@@ -68,10 +68,12 @@ notify_test_function (gpointer userdata) ...@@ -68,10 +68,12 @@ notify_test_function (gpointer userdata)
global_testdata = operate_on_data (GPOINTER_TO_INT (userdata)); global_testdata = operate_on_data (GPOINTER_TO_INT (userdata));
} }
void static GstFlowReturn
callback_function (GstAppSink * appsink, gpointer callback_data) callback_function (GstAppSink * appsink, gpointer callback_data)
{ {
global_testdata = operate_on_data (*((gint *) callback_data)); global_testdata = operate_on_data (*((gint *) callback_data));
return GST_FLOW_OK;
} }
void void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment