[Bug 773096] New: queue: Fix race when calculating cur_level.time
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Oct 17 12:27:12 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773096
Bug ID: 773096
Summary: queue: Fix race when calculating cur_level.time
Classification: Platform
Product: GStreamer
Version: unspecified
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: stian.selnes at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
On the first buffer, it's possible that sink_segment is set but
src_segment has not been set yet. If this is the case, we should not
calculate cur_level.time since sink_segment.position may be large and
src_segment.position default is 0, with the resulting diff being larger
than max-size-time, causing the queue to start leaking (if
leaky=downstream).
One potential consequence of this is that the segment event may be
stored on the srcpad before the caps event is pushed downstream, causing
a g_warning ("Sticky event misordering, got 'segment' before 'caps'").
--
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