GStreamer multimedia framework
Find a file
Nirbheek Chauhan f1f8e465f2 compositor: Ensure all arguments to CLAMP are signed int
If any of the arguments to CLAMP are unsigned integers, the comparison causes
an automatic conversion of the signed int to unsigned, which causes -1 to become
UINT_MAX and get clamped to the high value of the CLAMP instead of 0.

See 716 at http://c0x.coding-guidelines.com/6.3.1.8.html

Also add a test for this.

https://bugzilla.gnome.org/show_bug.cgi?id=754576
2015-09-04 23:32:36 +02:00
ext/gl glvideomixer: swap control binding proxy 2015-08-03 20:08:52 +10:00
gst/compositor compositor: Ensure all arguments to CLAMP are signed int 2015-09-04 23:32:36 +02:00
gst-libs/gst/video videoaggregator: lift restriction of changing pixel-aspect-ratio 2015-09-03 11:18:22 -03:00
tests/check/elements compositor: Ensure all arguments to CLAMP are signed int 2015-09-04 23:32:36 +02:00