tests: videodecoder: check that segment events are not dropped
authorThiago Santos <ts.santos@sisa.samsung.com>
Sat, 11 Jan 2014 04:14:19 +0000 (01:14 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 13 Jan 2014 09:11:09 +0000 (06:11 -0300)
commit561a4fff158c6ab718b574d39bb7e5383129fb23
tree3581a5bdfb681cd9e7ba3fd02815735e430dc424
parent672cda66db65174489e315ad8937f8e0ea7c7d81
tests: videodecoder: check that segment events are not dropped

Adds a test that simulates a scenario where the first buffers after
a segment can't be decoded and the decoder asks for those frames
to be released. The videodecoder base class should make sure that
the events attached to those first buffers are pushed even if the
buffers aren't going to be.

https://bugzilla.gnome.org/show_bug.cgi?id=721835
tests/check/libs/videodecoder.c