summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-05-25 16:05:29 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-05-25 16:07:01 +0200
commitd7fff5e02370b25fdc8343d2d6ab0feeb873998e (patch)
tree8338d532ad7ea8f9c0e45e0af7e1a9b5b1a9d42f
parentf840383a1a336217b64e155392ba7a7a4bac453d (diff)
check: Update video test for GST_VIDEO_FORMAT_ENCODED
-rw-r--r--tests/check/libs/video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/libs/video.c b/tests/check/libs/video.c
index 73778c201..db2763942 100644
--- 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);
}