mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
check/decodebin: Fix callback signature
The "gboolean last" argument is gone.
This commit is contained in:
parent
5f7e15fd6c
commit
b6d3b1ac97
1 changed files with 2 additions and 3 deletions
|
@ -63,8 +63,7 @@ src_need_data_cb (GstElement * src, guint size, gpointer data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
decodebin_pad_added_cb (GstElement * decodebin, GstPad * pad,
|
decodebin_pad_added_cb (GstElement * decodebin, GstPad * pad, gboolean * p_flag)
|
||||||
gboolean last, gboolean * p_flag)
|
|
||||||
{
|
{
|
||||||
/* we should not be reached */
|
/* we should not be reached */
|
||||||
fail_unless (decodebin == NULL, "pad-added should not be emitted");
|
fail_unless (decodebin == NULL, "pad-added should not be emitted");
|
||||||
|
@ -117,7 +116,7 @@ GST_END_TEST;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pad_added_plug_fakesink_cb (GstElement * decodebin, GstPad * srcpad,
|
pad_added_plug_fakesink_cb (GstElement * decodebin, GstPad * srcpad,
|
||||||
gboolean last, GstElement * pipeline)
|
GstElement * pipeline)
|
||||||
{
|
{
|
||||||
GstElement *sink;
|
GstElement *sink;
|
||||||
GstPad *sinkpad;
|
GstPad *sinkpad;
|
||||||
|
|
Loading…
Reference in a new issue