tests: add 2 unit tests for non-flush seek with gstbaseparse
authorJulien Isorce <jisorce@oblong.com>
Tue, 31 Jan 2017 09:55:59 +0000 (09:55 +0000)
committerJulien Isorce <jisorce@oblong.com>
Wed, 8 Feb 2017 10:38:33 +0000 (10:38 +0000)
commitb66109abf7d4968164af30253b94582e1e835dff
tree91c1b9cc07269721e6a76b8b5779df896eb610d7
parentef42e3811eba9580aacf87c6af81d956c4293e75
tests: add 2 unit tests for non-flush seek with gstbaseparse

The unit test defines a test parse element that inherit from GstBaseParse.
The test pipeline is: fakesrc ! testparse ! fakesink sync=1

Before the fix b2c05cac8 the first new test would have fail because the
pipeline would have wait doing nothing just after proceeded the seek event.
The second new test would have fail because the pipeline would have
played the media instantly just after proceeded the seek event
(like if sync was FALSE on the sink).

https://bugzilla.gnome.org/show_bug.cgi?id=777780
tests/check/pipelines/seek.c