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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 25 07:33:32 PDT 2010


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

--- Comment #3 from Philippe Normand <phil at base-art.net> 2010-08-25 14:33:28 UTC ---
in the case where the queue2 doesn't use a ring-buffer GET_PERCENT(bytes, 0)
is:

queue->cur_level.bytes * 100 / queue->max_level.bytes

example:

2766246 * 100 / 2097152 = 131 :)

So the question is, why would  queue->cur_level.bytes be superior to
queue->max_level.bytes ?

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