[Bug 797203] shmsrc: race condition when stopping

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 10 17:27:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797203

--- Comment #15 from Josep Torra Valles <n770galaxy at gmail.com> ---
Is just waiting for some data flow to happen in the pipelines. It doesn't
really matter how much data flows and shouldn't really introduce any racy
behavior in the test itseld but is needed to make emerge any racy behavior that
should be gracefully handled by the elements(which was the goal on the patches
to fix those race condition issues).

(In reply to Olivier CrĂȘte from comment #13)
> Review of attachment 373875 [details] [review]:
> 
> ::: tests/check/elements/shm.c
> @@ +212,3 @@
> +  fail_unless (state_res == GST_STATE_CHANGE_SUCCESS);
> +
> +  g_usleep (10000);
> 
> Is there a way we can test this without a sleep? What are we waiting for?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list