tests: fix for appsink return value addition

This commit is contained in:
Wim Taymans 2012-09-14 13:34:24 +02:00
parent 29418de194
commit 7921e652b6

View file

@ -72,7 +72,7 @@ event_loop (GstElement * pipe)
}
/* signalled when a new preroll buffer is available */
static void
static GstFlowReturn
new_preroll (GstElement * appsink, gpointer user_data)
{
GstBuffer *buffer;
@ -83,6 +83,8 @@ new_preroll (GstElement * appsink, gpointer user_data)
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)));
gst_buffer_unref (buffer);
return GST_FLOW_OK;
}
int