[Bug 761931] New: gstharness: fix the race in blocking push mode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 12 12:12:42 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761931
Bug ID: 761931
Summary: gstharness: fix the race in blocking push mode
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: major
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: havard.graff at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: gstreamer at pexip.com
GNOME version: ---
Created attachment 320964
--> https://bugzilla.gnome.org/attachment.cgi?id=320964&action=edit
patch
Depending on when gst_harness_pull was called - before the buffer reached
gst_harness_chain or after we can get different behaviors of the test
with enabled blocking push mode. The fix makes the behavior always the
same. In pull function we get the buffer first, thus making sure
gst_harness_chain waits for the signal, and emitting the signal after.
--
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