unbreak test
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 2 Jul 2006 12:57:19 +0000 (12:57 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 2 Jul 2006 12:57:19 +0000 (12:57 +0000)
Original commit message from CVS:
unbreak test

tests/check/gst/gstcaps.c

index fa33d4b..20e4b24 100644 (file)
@@ -198,16 +198,12 @@ GST_START_TEST (test_simplify)
 {
   GstStructure *s1, *s2;
   gboolean did_simplify;
-  GstCaps *caps, *simplecaps;
+  GstCaps *caps;
 
   caps = gst_caps_from_string (non_simple_caps_string);
   fail_unless (caps != NULL,
       "gst_caps_from_string (non_simple_caps_string) failed");
 
-  /* first get a new copy of simplified caps */
-  simplecaps = gst_caps_simplify (caps);
-  fail_unless (simplecaps != NULL, "simplifying caps failed");
-
   did_simplify = gst_caps_do_simplify (caps);
   fail_unless (did_simplify == TRUE,
       "gst_caps_do_simplify() should have worked");