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 404512 - [videoscale] floating point exception on 1x1 video
[videoscale] floating point exception on 1x1 video
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.12
Assigned To: Tim-Philipp Müller
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-05 07:06 UTC by Philip Jägenstedt
Modified: 2007-02-05 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Jägenstedt 2007-02-05 07:06:30 UTC
gstvideoscale does alot of dividing by (width - 1) and (height - 1), which will of course crash if width or height is 1, but the caps set include 1. Either support width/height 1 or the caps should be set differently.
Comment 1 Tim-Philipp Müller 2007-02-05 11:46:25 UTC
 2007-02-05  Tim-Philipp Müller  <tim at centricular dot net>

       * gst/videoscale/gstvideoscale.c:
         A width and height of 1 makes us crash, so increase minimum size to
         2x2 pixels until someone feels like fixing this (#404512).