[Bug 768649] queue2: Force final average input rate calculation on EOS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 11 08:05:43 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768649

--- Comment #1 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 331184
  --> https://bugzilla.gnome.org/attachment.cgi?id=331184&action=edit
queue2: Force final average input rate calculation on EOS

When dealing with small-ish input data coming into queue2, such as
adaptivedemux fragments, we would never take into account the last
<200ms of data coming in.

The problem is that usually on TCP connection the download rate
gradually increases (i.e. the rate is lower at the beginning of a
download than it is later on). Combined with small download time (less
than a second) we would end up with a computed average input rate
which was sometimes up to 30-50% off from the *actual* average input
rate for that fragment.

In order to fix this, force the average input rate calculation when
we receive an EOS so that we take into account that final window
of data.

-- 
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