GNOME Bugzilla – Bug 758838
adaptivedemux: tests: improve seek test
Last modified: 2016-01-06 16:47:32 UTC
Seek test is waiting for src element to change state. The src element is a bin containing a fakesouphttpsrc element and a queue2 element. Instead of waiting for the fakesouphttpsrc element to change state, the test should wait for the bin to change state (meaning both fakesouphttpsrc and the queue2 element had changed state). This avoids race condition situations when fakehttpsrc changed state and the test thinks the src has stopped, but queue2 is still transmitting.
Created attachment 316510 [details] [review] proposed patch
Fixed in commit ae3ed25025e34ea9b09df59d22d7ebd7294560bc (part of https://bugzilla.gnome.org/show_bug.cgi?id=758384)