summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-09 14:04:47 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-09 14:04:47 +0200
commit3de4200f61fe54e6762484fc5497ad74842cd772 (patch)
treea30de462536ba81762ea10364a14dd9356cda57b
parent99551d806ceeb27496baf424a692d6cde862670d (diff)
videoscale: Fix unit test after latest videoconvert changes
-rw-r--r--tests/check/elements/videoscale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c
index 3f444ef45..c2869d15b 100644
--- a/tests/check/elements/videoscale.c
+++ b/tests/check/elements/videoscale.c
@@ -55,7 +55,9 @@ check_pad_template (GstPadTemplate * tmpl)
caps = gst_pad_template_get_caps (tmpl);
/* If this fails, we need to update this unit test */
- fail_unless_equals_int (gst_caps_get_size (caps), 1);
+ fail_unless_equals_int (gst_caps_get_size (caps), 2);
+ /* Remove the ANY caps features structure */
+ caps = gst_caps_truncate (caps);
s = gst_caps_get_structure (caps, 0);
fail_unless (gst_structure_has_name (s, "video/x-raw"));