[Bug 758961] adaptivedemux: tests: do not sleep with the GST_TEST_LOCK taken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 2 17:48:04 UTC 2017


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

--- Comment #20 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 347088
  --> https://bugzilla.gnome.org/attachment.cgi?id=347088&action=edit
adaptivedemux: tests: make GstAdaptiveDemuxTestEngine test lock available

The mutex in GstAdaptiveDemuxTestEngine was only available in
adaptive_demux_engine.c. However, some tests need to be able to drop
the lock (for example in order to be able to sleep without blocking
other threads).

By adding GST_ADAPTIVE_ENGINE_LOCK and GST_ADAPTIVE_ENGINE_UNLOCK to
the header, any test can make use of the 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