[Bug 740672] queue2 : get_buffering_percent() returns negative percentage may cause segmentation fault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 25 18:57:08 PST 2014


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

--- Comment #2 from Mingke Wang <mingke.wang at freescale.com> 2014-11-26 02:57:04 UTC ---
(In reply to comment #1)
> How can the percentage ever be smaller than 0? The only possibility seems to be
> if the byte-based percentage is smaller than 0, which only happens if a
> negative amount of bytes is buffered or something is wrong in the ringbuffer
> calculations.
> 
> In which situation did you get this?

play a http streaming, then unplug the network cable.
the interesting thing is once I add some printing in get_buffering_percent().
the segmentation fault will gone. so it's hard for me to check which part cause
the negative value.

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