mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 11:29:55 +00:00
tests: fix for appsink return value addition
This commit is contained in:
parent
29418de194
commit
7921e652b6
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue