When comparing percentage values, compare with 0-100 scale as it
has already been made relative to 0-high_percent, otherwise we mark
the queue as not buffering and report a 50% to the user. This leads to
a buffering stall as the user assumes the queue is still buffering but
it thinks it isn't.
https://bugzilla.gnome.org/show_bug.cgi?id=736969
if (queue->is_buffering) {
/* if we were buffering see if we reached the high watermark */
- if (percent >= queue->high_percent)
+ if (percent >= 100)
queue->is_buffering = FALSE;
SET_PERCENT (queue, percent);