gst/playback/gstqueue2.c: Fix a division by zero when the max percent is <= 0. Fixes #446572. also update the bufferi...
gst/playback/gstqueue2.c: Fix a division by zero when the max percent is <= 0. Fixes #446572. also update the bufferi...

Original commit message from CVS:
Patches by: Thiago Sousa Santos <thiagossantos at gmail dot com>
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_locked_enqueue):
Fix a division by zero when the max percent is <= 0. Fixes #446572.
also update the buffering status when receiving events. Fixes #446551.

drothlis/gstreamer,krieger-od/gstreamer,surround-io/gstreamer,cablelabs/gstreamer,jpxiong/gstreamer,Lachann/gstreamer,Distrotech/gstreamer,lovebug356/gstreamer,magcius/gstreamer,jpakkane/gstreamer,magcius/gstreamer,shelsonjava/gstreamer,Lachann/gstreamer,lovebug356/gstreamer,Distrotech/gstreamer,cfoch/gstreamer,collects/gstreamer,krichter722/gstreamer,cablelabs/gstreamer,surround-io/gstreamer,cablelabs/gstreamer,mparis/gstreamer,centricular/gstreamer,krichter722/gstreamer,krichter722/gstreamer,collects/gstreamer,mrchapp/gstreamer,collects/gstreamer,collects/gstreamer,jpakkane/gstreamer,mrchapp/gstreamer,lubosz/gstreamer,lovebug356/gstreamer,StreamUtils/gstreamer,cfoch/gstreamer,drothlis/gstreamer,cablelabs/gstreamer,jpxiong/gstreamer,drothlis/gstreamer,lubosz/gstreamer,ylatuya/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,krieger-od/gstreamer,ensonic/gstreamer,ensonic/gstreamer,ahmedammar/platform_external_gst_gstreamer,surround-io/gstreamer,ylatuya/gstreamer,lubosz/gstreamer,mparis/gstreamer,lubosz/gstreamer,StreamUtils/gstreamer,mparis/gstreamer,shelsonjava/gstreamer,Lachann/gstreamer,cfoch/gstreamer,surround-io/gstreamer,justinjoy/gstreamer,surround-io/gstreamer,ensonic/gstreamer,krichter722/gstreamer,justinjoy/gstreamer,drothlis/gstreamer,lubosz/gstreamer,krieger-od/gstreamer,jpxiong/gstreamer,ylatuya/gstreamer,mparis/gstreamer,ahmedammar/platform_external_gst_gstreamer,StreamUtils/gstreamer,jpxiong/gstreamer,mrchapp/gstreamer,justinjoy/gstreamer,centricular/gstreamer,centricular/gstreamer,cfoch/gstreamer,shelsonjava/gstreamer,cablelabs/gstreamer,ylatuya/gstreamer,Distrotech/gstreamer,ahmedammar/platform_external_gst_gstreamer,collects/gstreamer,lovebug356/gstreamer,magcius/gstreamer,StreamUtils/gstreamer,krichter722/gstreamer,jpakkane/gstreamer,ensonic/gstreamer,jpxiong/gstreamer,shelsonjava/gstreamer,jpakkane/gstreamer,mrchapp/gstreamer,shelsonjava/gstreamer,Distrotech/gstreamer,krieger-od/gstreamer,cfoch/gstreamer,mparis/gstreamer,jpakkane/gstreamer,ylatuya/gstreamer,lovebug356/gstreamer,Lachann/gstreamer,magcius/gstreamer,ensonic/gstreamer,mrchapp/gstreamer,drothlis/gstreamer,Distrotech/gstreamer,Lachann/gstreamer,centricular/gstreamer,ahmedammar/platform_external_gst_gstreamer,justinjoy/gstreamer,centricular/gstreamer,justinjoy/gstreamer,ahmedammar/platform_external_gst_gstreamer,magcius/gstreamer