[Bug 765728] adaptivedemux: Segfault since "use realtime_clock for waiting for a condition" commit
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 28 14:27:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765728
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t.i.m at zen.co.uk
See Also| |https://bugzilla.gnome.org/
| |show_bug.cgi?id=762147
Summary|Segfault since commit |adaptivedemux: Segfault
|aa58a70d6676f9bc394780a90a3 |since "use realtime_clock
|9ff47d538fa68 |for waiting for a
| |condition" commit
Severity|normal |blocker
--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
For reference, that commit is:
ommit aa58a70d6676f9bc394780a90a39ff47d538fa68
Author: Florin Apostol <florin.apostol at oregan.net>
Date: Tue Feb 16 14:44:27 2016 +0000
adaptivedemux: use realtime_clock for waiting for a condition
There are several places in adaptivedemux where it waits for
time to pass, for example to wait until it should next download
a fragment. The problem with this approach is that it means that
unit tests are forced to execute in realtime.
This commit replaces the use of g_cond_wait_until() with single
shot GstClockID that signals the condition variable. Under normal
usage, this behaves exactly as before. A unit test can replace the
system clock with a GstTestClock, allowing the test to control the
timing in adaptivedemux.
https://bugzilla.gnome.org/show_bug.cgi?id=762147
--
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