gstreamer/tests/check/elements
Nirbheek Chauhan cf786a9399 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
..
uvch264demux_data UVC H264 plugin 2012-09-10 16:09:26 -04:00
.gitignore tests: pcapparse: add unit test for frames with eth padding 2015-07-03 10:28:34 +01:00
aiffparse.c test: fix compiler warning in aiffparse test on 32-bit x86 2013-08-20 00:26:06 +01:00
asfmux.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
assrender.c assrender: Fix compiler warning in test 2014-02-08 20:07:16 +01:00
audiointerleave.c tests: Add audiointerleave test to show that queuing works 2015-07-30 14:00:05 -04:00
audiomixer.c tests: audiomixer: remove duplicated word in comment 2015-08-21 11:12:04 +03:00
autoconvert.c autoconvert: Fix event handling in unit test 2013-05-15 10:23:49 +02:00
autovideoconvert.c Fix FSF address 2012-11-04 00:09:59 +00:00
baseaudiovisualizer.c tests: fix build of baseaudiovisualizer test with subdir-objects option 2013-08-09 20:14:03 +01:00
camerabin.c tests: camerabin: add tests for GstPhotography image capture 2015-04-24 15:12:47 -03:00
compositor.c compositor: Ensure all arguments to CLAMP are signed int 2015-09-04 23:32:36 +02:00
curlfilesink.c curl*sink: improve return value checks in test cases 2014-04-26 10:21:10 +02:00
curlftpsink.c curl*sink: improve return value checks in test cases 2014-04-26 10:21:10 +02:00
curlhttpsink.c curl*sink: improve return value checks in test cases 2014-04-26 10:21:10 +02:00
curlsftpsink.c curlsftpsink: authenticate remote host via public key fingerprint 2014-05-20 08:58:08 +02:00
curlsmtpsink.c curl*sink: improve return value checks in test cases 2014-04-26 10:21:10 +02:00
dash_mpd.c dashdemux: Handle encoding specified in the <xml> element when dumping nodes 2015-08-19 21:33:47 +03:00
dataurisrc.c Fix FSF address 2012-11-04 00:09:59 +00:00
faac.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
faad.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
gdpdepay.c tests: gdpdepay: update for internal gdp refactoring 2014-12-26 13:44:35 +00:00
gdppay.c tests: gdppay: initialise memory of buffers used in unit test 2014-12-26 13:44:32 +00:00
glimagesink.c checks: Ensure thread-safe libX11/GL when running tests 2015-08-15 19:04:42 +02:00
h263parse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
h264parse.c h264parse: tests: fix caps for avc format 2014-08-25 13:37:57 -03:00
hlsdemux_m3u8.c check: hlsdemux: make duration unit test robust to floating point rounding 2015-08-20 17:13:48 +03:00
id3mux.c Fix FSF address 2012-11-04 00:09:59 +00:00
jifmux.c Fix FSF address 2012-11-04 00:09:59 +00:00
jpegparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
kate.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
mpeg2enc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
mpeg4videoparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
mpegtsmux.c tests: mpegtsmux: add test for keyframe/delta flag propagation 2015-03-15 15:54:01 +00:00
mpegvideoparse.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
mpg123audiodec.c tests: fix mpg123audiodec test for big-endian architectures 2014-03-05 10:37:53 +00:00
mplex.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
mxfdemux.c mxfdemux: Fix event handling in unit test 2013-05-15 11:31:14 +02:00
mxfdemux.h tests/check/elements/mxfdemux.*: Make sure the main loop is already running when handling the EOS event in pull mode.... 2008-12-16 12:37:15 +00:00
mxfmux.c tests: update some element names for 1.0 2013-02-28 20:09:29 +00:00
neonhttpsrc.c Fix FSF address 2012-11-04 00:09:59 +00:00
ofa.c ofa: port to 1.0 2013-05-12 23:42:06 +01:00
opus.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
parser.c parser: Fix event handling in unit tests 2013-05-15 11:15:24 +02:00
parser.h Fix FSF address 2012-11-04 00:09:59 +00:00
pcapparse.c tests: pcapparse: add unit test for frames with eth padding 2015-07-03 10:28:34 +01:00
rtponvif.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
schroenc.c schroenc: Fix event handling in unit test 2013-05-15 11:26:25 +02:00
shm.c tests: Take account of memory alignment in shm test 2014-06-02 21:51:38 -04:00
templatematch.c templatematch: Compare the correct loop variables 2014-09-16 01:15:31 +03:00
timidity.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
uvch264demux.c check: Update uvch264demux for behaviour change 2013-09-28 13:15:44 +02:00
viewfinderbin.c Fix FSF address 2012-11-04 00:09:59 +00:00
voaacenc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
voamrwbenc.c check: Use GST_CHECK_MAIN () macro everywhere 2015-06-02 16:04:40 +02:00
x265enc.c tests/x265enc: add simple unit test 2014-10-15 17:11:47 +02:00
zbar.c zbar: split test 2015-06-07 16:27:13 +02:00