summaryrefslogtreecommitdiff
path: root/tests/check/pipelines
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-12 12:23:34 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-12 12:23:34 +0100
commitc3c985cfe11fc34288591354b02612d601e2f13d (patch)
tree4181cdabe6a934ea21e43e1dbc9a270449b09935 /tests/check/pipelines
parent12cba7c9848884711f0e954449164c0a76cd85e5 (diff)
downloadgstreamer-plugins-bad-c3c985cfe11fc34288591354b02612d601e2f13d.tar.gz
fix for caps _normalize changes
Diffstat (limited to 'tests/check/pipelines')
-rw-r--r--tests/check/pipelines/colorspace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/check/pipelines/colorspace.c b/tests/check/pipelines/colorspace.c
index 12ee1a7f2..1cd24dc3a 100644
--- a/tests/check/pipelines/colorspace.c
+++ b/tests/check/pipelines/colorspace.c
@@ -172,9 +172,8 @@ colorspace_compare (gint width, gint height, gboolean comp)
gst_caps_unref (rcaps);
/* normalize to finally have a list of acceptable fixed formats */
- tcaps = gst_caps_simplify (caps);
- caps = gst_caps_normalize (tcaps);
- gst_caps_unref (tcaps);
+ caps = gst_caps_simplify (caps);
+ caps = gst_caps_normalize (caps);
/* set up for running stuff */
loop = g_main_loop_new (NULL, FALSE);