projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01665d9
)
tests: fix videocrop crop_to_1x1 unit test for GRAY8 format
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 26 Aug 2012 20:27:00 +0000
(21:27 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Mon, 27 Aug 2012 20:20:29 +0000
(21:20 +0100)
Update table with pixel values with the value actually produced
by videotestsrc.
tests/check/elements/videocrop.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/videocrop.c
b/tests/check/elements/videocrop.c
index
b923150
..
4e6e4ab
100644
(file)
--- a/
tests/check/elements/videocrop.c
+++ b/
tests/check/elements/videocrop.c
@@
-258,7
+258,7
@@
check_1x1_buffer (GstBuffer * buf, GstCaps * caps)
/* the exact values we check for come from videotestsrc */
static const guint yuv_values[] = { 81, 90, 240, 255 };
static const guint rgb_values[] = { 0xff, 0, 0, 255 };
- static const guint gray_values[] = {
63, 63, 63, 255
};
+ static const guint gray_values[] = {
0x51
};
const guint *values;
guint i;
const GstVideoFormatInfo *finfo;