queue2: percentage is relative to high-percent
authorThiago Santos <thiagoss@osg.samsung.com>
Sun, 23 Nov 2014 08:45:24 +0000 (05:45 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sun, 23 Nov 2014 08:51:12 +0000 (05:51 -0300)
commit8d835ec400819140e5fc8532a90010c694e1212b
tree16a6a51977ed179c20186a9d6d7ce75d60e814b9
parent5a759011a013b3a3e9249f11f6f3e476947451e1
queue2: percentage is relative to high-percent

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
plugins/elements/gstqueue2.c