implement buffering-left argument to buffer messages
authorBastien Nocera <hadess@hadess.net>
Wed, 4 Nov 2009 19:33:58 +0000 (19:33 +0000)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 5 Nov 2009 14:22:35 +0000 (15:22 +0100)
commit9581e5887c20796401d099ecbbf901787ce0202e
treefc12a89d64258566f9dce16259d9885a868ebc14
parent7da9eb0f74100fd28dbb39e8de94b7f21d07eae5
implement buffering-left argument to buffer messages

Using the current fill level of the queue, and the average input
rate, we can determine how long it will take to finish downloading
the whole stream to the temporary file.

Fixes #600726
plugins/elements/gstqueue2.c