[Bug 702840] queue2 does not work with use-buffering=true
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Mar 24 03:41:12 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=702840
GStreamer | gst-plugins-base | git
--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> 2014-03-24 11:06:27 UTC ---
commit a6decb91ac2c035c381d59f1f1fabfeb2f869f95
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Thu Mar 20 06:14:33 2014 -0400
queue2: fix event/preroll deadlock
The qlock is released between popping a buffer from the queue
and pushing it. When this buffer causes the sink to wait in
preroll, this lets a query see that the queue is empty, and
push the query then wait for it to be serviced. However, this
will not be done till after peroll, and this will thus block.
If upstream was waiting on buffering to reach 100% before
switching to PLAYING, a deadlock would ensue.
We fix it by refusing the query when buffering, as per Wim's
recommendation on IRC.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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