mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
tests: rtp: No need to unref buffer from bufferlist
Buffers obtained from buffer list iterators don't need to be unreffed. Test was failing due to this.
This commit is contained in:
parent
53b0c20c7c
commit
8818ea08bd
1 changed files with 0 additions and 1 deletions
|
@ -540,7 +540,6 @@ GST_START_TEST (test_rtp_buffer_list_set_extension)
|
||||||
&appbits, 5, 0, &pointer, &size) == TRUE);
|
&appbits, 5, 0, &pointer, &size) == TRUE);
|
||||||
fail_unless (size == 2);
|
fail_unless (size == 2);
|
||||||
fail_unless (memcmp (pointer, misc_data, 2) == 0);
|
fail_unless (memcmp (pointer, misc_data, 2) == 0);
|
||||||
gst_buffer_unref (buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue