From: Thomas Vander Stichele Date: Sun, 2 Jul 2006 12:57:19 +0000 (+0000) Subject: unbreak test X-Git-Tag: RELEASE-0_10_9~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df244744a529ae17dbf93742cff7e31a2a7d50e3;p=platform%2Fupstream%2Fgstreamer.git unbreak test Original commit message from CVS: unbreak test --- diff --git a/tests/check/gst/gstcaps.c b/tests/check/gst/gstcaps.c index fa33d4b..20e4b24 100644 --- a/tests/check/gst/gstcaps.c +++ b/tests/check/gst/gstcaps.c @@ -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");