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:
Thiago Santos 2010-10-06 16:19:49 -03:00
parent 53b0c20c7c
commit 8818ea08bd

View file

@ -540,7 +540,6 @@ GST_START_TEST (test_rtp_buffer_list_set_extension)
&appbits, 5, 0, &pointer, &size) == TRUE);
fail_unless (size == 2);
fail_unless (memcmp (pointer, misc_data, 2) == 0);
gst_buffer_unref (buf);
}
GST_END_TEST;