[Bug 769802] queue2: Post buffering messages earlier in ringbuffer mode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Aug 12 14:26:43 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=769802
--- Comment #1 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 333182
--> https://bugzilla.gnome.org/attachment.cgi?id=333182&action=edit
queue2: Post buffering messages earlier in ringbuffer mode
In ringbuffer mode we need to make sure we post buffering messages *before*
blocking to wait for data to be drained.
Without this, we would end up in situations like this:
* pipeline is pre-rolling
* Downstream demuxer/decoder has pushed data to all sinks, and demuxer thread
is blocking downstream (i.e. not pulling from upstream/queue2).
* Therefore pipeline has pre-rolled ...
* ... but queue2 hasn't filled up yet, therefore the application waits for
the buffering 100% messages before setting the pipeline to PLAYING
* But queue2 can't post that message, since the 100% message will be posted
*after* there is room available for that last buffer.
--
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