After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744188 - fieldanalysis: exception when block width to 0
fieldanalysis: exception when block width to 0
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-09 05:59 UTC by Vineeth
Modified: 2015-04-20 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix exception when block width is 0 (1.38 KB, patch)
2015-02-09 06:00 UTC, Vineeth
committed Details | Review

Description Vineeth 2015-02-09 05:59:09 UTC
When block width property is set to 0, exception occurs.
This happens due to divide by zero errors in calculations.
block width property can never be 0. Hence adjusting the minimum value to 1.
Comment 1 Vineeth 2015-02-09 06:00:41 UTC
Created attachment 296409 [details] [review]
fix exception when block width is 0
Comment 2 Vincent Penquerc'h 2015-04-20 08:43:13 UTC
Seems sensible, pushed. Thanks for the patch.

commit 3daa793494aa9ea41cd0f0ae5ed20275002e876c
Author: Vineeth T M <vineeth.tm@samsung.com>
Date:   Mon Feb 9 11:29:46 2015 +0530

    fieldanalysis: exception when block width to 0
    
    When block width property is set to 0, exception occurs.
    This happens due to divide by zero errors in calculations.
    block width property can never be 0. Hence adjusting the minimum value to 1.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744188