tests: deal with lists of formats
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 8 Mar 2012 09:59:48 +0000 (10:59 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 8 Mar 2012 09:59:48 +0000 (10:59 +0100)
tests/check/elements/videoscale.c

index e428dc0..983219d 100644 (file)
@@ -45,6 +45,7 @@ videoscale_get_allowed_caps_for_method (int method)
   gst_object_unref (pad);
   gst_object_unref (scale);
 
+  caps = gst_caps_normalize (caps);
   n = gst_caps_get_size (caps);
   ret = g_new0 (GstCaps *, n + 1);