test: rtpbin_buffer_list: make check_packet more flexible
authorAntonio Ospite <antonio.ospite@collabora.com>
Wed, 6 Mar 2019 18:19:03 +0000 (19:19 +0100)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Mon, 1 Apr 2019 18:42:32 +0000 (18:42 +0000)
commit5567066bff82f2d345af18d1adffbb74f0007fc2
tree7e5e1b4eca1f70a4dcb4e9468bc8a46bf5abec9b
parent5807d79a9d1ca11d04622810f8a9413e45e610d8
test: rtpbin_buffer_list: make check_packet more flexible

Make it possible to differentiate between the position in the list and
the packet index in the global structures in check_packet, in some
future case the list may change, in case some element removes a buffer
from the list, and the two indices may not coincide.
tests/check/elements/rtpbin_buffer_list.c