GNOME Bugzilla – Bug 687380
videomixer: Y offset should be compared to height, not width
Last modified: 2012-11-02 08:30:02 UTC
Created attachment 227844 [details] [review] A patch As with bug 687330, videomixer mixes up its axes. From the patch: /* If x or y offset are larger then the source it's outside of the picture */ \ - if (xoffset > src_width || yoffset > src_width) { \ + if (xoffset > src_width || yoffset > src_height) { \ return; \ And quoting the commit message: This could have prevented images showing that should have when the source height is greater than its width. When width exceeds height, as is common, it probably only caused a miniscule amount of unnecessary work. I haven't tested.
commit 0b898ab91109e5a3197ac4b27178c1e040415303 Author: Douglas Bagnall <douglas@paradise.net.nz> Date: Fri Nov 2 10:53:57 2012 +1300 videoconvert: Compare y offset with height, not width, when testing for overlap This could have prevented images showing that should have when the source height is greater than its width. When width exceeds height, as is common, it probably only caused a miniscule amount of unnecessary work. I haven't tested.