[Bug 758961] adaptivedemux: tests: do not sleep with the GST_TEST_LOCK taken
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jan 8 09:07:09 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=758961
--- Comment #4 from Florin Apostol <florin.apostol at oregan.net> ---
Created attachment 318522
--> https://bugzilla.gnome.org/attachment.cgi?id=318522&action=edit
1/2 fix usage of test lock
adaptive_demux: 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