multiqueue: Ignore time when determining whether sparse stream limits have been reached
authorMatej Knopp <matej.knopp@gmail.com>
Fri, 29 Apr 2016 12:55:02 +0000 (14:55 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 29 Apr 2016 13:09:23 +0000 (16:09 +0300)
commitefb1955ffb395759e92a2a49918f0e823bcf4dfa
treebc4df9f2547b48e8acc90857e2ac6f986a9dd374
parent8177173db0c005955cf931ad6aff35fd834b3e3c
multiqueue: Ignore time when determining whether sparse stream limits have been reached

Basically, sq->max_size.visible is never increased for sparse streams in
overruncb when empty queue has been found;

If the queue is sparse it just skip the entire logic determining whether
max_size.visible should be increased, deadlocking the demuxer.

What should be done instead is that when determining if limits have been
reached, to ignore time for sparse streams, as the buffer may be far in the
future.

https://bugzilla.gnome.org/show_bug.cgi?id=765736
plugins/elements/gstmultiqueue.c