mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
test: rtpbin_buffer_list: set the chain_list function directly in the test
The helper function set_chain_function does not really do anything useful, remove it.
This commit is contained in:
parent
5567066bff
commit
af8698e656
1 changed files with 2 additions and 7 deletions
|
@ -267,12 +267,6 @@ sink_chain_list (GstPad * pad, GstObject * parent, GstBufferList * list)
|
|||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
static void
|
||||
set_chain_function (GstPad * pad)
|
||||
{
|
||||
gst_pad_set_chain_list_function (pad, GST_DEBUG_FUNCPTR (sink_chain_list));
|
||||
}
|
||||
|
||||
|
||||
GST_START_TEST (test_bufferlist)
|
||||
{
|
||||
|
@ -295,7 +289,8 @@ GST_START_TEST (test_bufferlist)
|
|||
"send_rtp_src_0");
|
||||
fail_if (sinkpad == NULL);
|
||||
|
||||
set_chain_function (sinkpad);
|
||||
gst_pad_set_chain_list_function (sinkpad,
|
||||
GST_DEBUG_FUNCPTR (sink_chain_list));
|
||||
|
||||
gst_pad_set_active (srcpad, TRUE);
|
||||
gst_pad_set_active (sinkpad, TRUE);
|
||||
|
|
Loading…
Reference in a new issue