[Bug 758961] adaptivedemux: tests: do not sleep with the GST_TEST_LOCK taken
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 2 17:47:58 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=758961
--- Comment #19 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 347087
--> https://bugzilla.gnome.org/attachment.cgi?id=347087&action=edit
adaptivedemux: tests: fix usage of test lock
The GST_TEST_LOCK lock currently protects all test related data: priv
and the streams obtained from it using getTestOutputDataByPad.
So, it must be held during calls of
priv->callbacks->... because those functions could use priv, engine or
stream.
We should replace this big lock with smaller ones, but until then all
accesses to a test data must be protected by GST_TEST_LOCK.
--
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