[gstreamer-bugs] [Bug 627942] [queue2] wrong percent-filled estimation during on-disk buffering

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 25 08:18:26 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627942
  GStreamer | gstreamer (core) | git

--- Comment #4 from Philippe Normand <phil at base-art.net> 2010-08-25 15:18:23 UTC ---
queue->max_level.bytes doesn't seem relevant in on-disk-buffering use-case,
right?

I think in that case the percent value should be calculated depending on the
duration (in BYTES), if it is known. So something like:

queue->cur_level.bytes * 100 / duration_in_bytes

Opinions? Am I totally on the wrong track? ;)

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