[gstreamer-bugs] [Bug 446572] [queue2] Division by zero

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 11 18:36:14 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=446572

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #1 from Thiago Sousa Santos  2007-06-12 01:36 UTC -------
Created an attachment (id=89784)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=89784&action=view)
Fixes the bug.

"percent = percent * 100 / queue->high_percent;"

this line was the problem.

This patch considers that if the high_percent is <= 0, it's the same as not use
buffering, fixing the problem.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=446572.




More information about the Gstreamer-bugs mailing list