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:
f840383
)
check: Update video test for GST_VIDEO_FORMAT_ENCODED
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 25 May 2012 14:05:29 +0000
(16:05 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 25 May 2012 14:07:01 +0000
(16:07 +0200)
tests/check/libs/video.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/video.c
b/tests/check/libs/video.c
index
73778c2
..
db27639
100644
(file)
--- a/
tests/check/libs/video.c
+++ b/
tests/check/libs/video.c
@@
-396,7
+396,8
@@
GST_START_TEST (test_video_formats_all)
fail_if (gst_video_format_from_string (fmt_str) ==
GST_VIDEO_FORMAT_UNKNOWN);
}
- fail_unless_equals_int (num, num_formats);
+ /* Take into account GST_VIDEO_FORMAT_ENCODED */
+ fail_unless_equals_int (num, num_formats - 1);
gst_caps_unref (caps);
}