summaryrefslogtreecommitdiff
path: root/tests/check/pipelines/colorspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/pipelines/colorspace.c')
-rw-r--r--tests/check/pipelines/colorspace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/check/pipelines/colorspace.c b/tests/check/pipelines/colorspace.c
index 56ec9c114..a29d199bd 100644
--- a/tests/check/pipelines/colorspace.c
+++ b/tests/check/pipelines/colorspace.c
@@ -172,8 +172,7 @@ colorspace_compare (gint width, gint height, gboolean comp)
gst_caps_unref (rcaps);
/* normalize to finally have a list of acceptable fixed formats */
- gst_caps_do_simplify (caps);
- tcaps = caps;
+ tcaps = gst_caps_do_simplify (caps);
caps = gst_caps_normalize (tcaps);
gst_caps_unref (tcaps);