mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 21:12:26 +00:00
unbreak test
Original commit message from CVS: unbreak test
This commit is contained in:
parent
5d47eca524
commit
df244744a5
1 changed files with 1 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue