tests: Add test for the 'ignore-eos' compositor sink pad property
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 6 Jun 2015 15:10:13 +0000 (20:40 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 Jun 2015 18:45:41 +0000 (19:45 +0100)
commit498c92aac4a5e56a13be78ee8b985352c1eecb59
tree5f378dfbfb6398167798272ef11ac927cd823f88
parent86705fbbca0a24252045c1881ca19ff4db20b449
tests: Add test for the 'ignore-eos' compositor sink pad property

When the 'ignore-eos' property is set on a pad, compositor will keep resending
the last buffer on the pad till the pad is unlinked. We count the buffers
received on appsink, and if it's more than the buffers sent by videotestsrc, the
test passes.
tests/check/elements/compositor.c