After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758838 - adaptivedemux: tests: improve seek test
adaptivedemux: tests: improve seek test
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-30 12:24 UTC by Florin Apostol
Modified: 2016-01-06 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (2.14 KB, patch)
2015-11-30 12:25 UTC, Florin Apostol
none Details | Review

Description Florin Apostol 2015-11-30 12:24:30 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.
Comment 1 Florin Apostol 2015-11-30 12:25:19 UTC
Created attachment 316510 [details] [review]
proposed patch
Comment 2 Florin Apostol 2016-01-06 16:47:32 UTC
Fixed in commit ae3ed25025e34ea9b09df59d22d7ebd7294560bc (part of https://bugzilla.gnome.org/show_bug.cgi?id=758384)