test: rtpbin_buffer_list: move buffer list creation next to its validation
authorAntonio Ospite <antonio.ospite@collabora.com>
Mon, 11 Mar 2019 09:08:21 +0000 (10:08 +0100)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Mon, 1 Apr 2019 18:42:32 +0000 (18:42 +0000)
commita330012d6ac3533eac8cbd1ae08ab05802c85e8a
tree12b4ab189ab245a39741b21a07e37a6accd3dee8
parentaf8698e6563bd2b1f568a0d92f5ffdf5bf5bec9b
test: rtpbin_buffer_list: move buffer list creation next to its validation

The tests create a buffer list and then use the chain_list callback to
verify that the correct packets have been pushed.

Move the creation and validation code next to each other so that the
reader can more easily understand what is going on.

While at it add some comments to introduce the two related functions.
tests/check/elements/rtpbin_buffer_list.c