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 590243 - [videoscale] Claims to support MAX width/height
[videoscale] Claims to support MAX width/height
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal critical
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-30 10:28 UTC by Sebastian Dröge (slomo)
Modified: 2009-08-06 04:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
videoscale.diff (452 bytes, patch)
2009-07-30 10:32 UTC, Sebastian Dröge (slomo)
accepted-commit_after_freeze Details | Review

Description Sebastian Dröge (slomo) 2009-07-30 10:28:43 UTC
Hi,
videoscale currently claims to support MAX width/height. This is wrong as noticed by Mark Nauwelaerts. The algorithms internally restrict the width/height to 2^16 - 1 (just search for the << 16 shifts).

Attached patch corrects this.
Comment 1 Sebastian Dröge (slomo) 2009-07-30 10:32:32 UTC
Created attachment 139552 [details] [review]
videoscale.diff

Actually it's even limited to 2^(16-1)-1 ;)
Comment 2 Sebastian Dröge (slomo) 2009-07-30 10:38:36 UTC
Ok, I'll commit it for 0.10.25.