From 4a911a810066d56ad62f63bfba78f66dc7fb8d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 11 Jan 2007 10:48:59 +0000 Subject: [PATCH] tests/check/gst/gstpad.c: Fix 'make check' too. Original commit message from CVS: * tests/check/gst/gstpad.c: (test_get_allowed_caps): Fix 'make check' too. --- ChangeLog | 5 +++++ tests/check/gst/gstpad.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d99eaa3122..e5b005d096 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-11 Tim-Philipp Müller + + * tests/check/gst/gstpad.c: (test_get_allowed_caps): + Fix 'make check' too. + 2007-01-10 Andy Wingo * docs/design/part-negotiation.txt: Fix a typo, add a couple diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c index 4e1231a52d..8009b6cb5a 100644 --- a/tests/check/gst/gstpad.c +++ b/tests/check/gst/gstpad.c @@ -161,9 +161,6 @@ GST_START_TEST (test_get_allowed_caps) ASSERT_CRITICAL (gst_pad_get_allowed_caps ((GstPad *) buffer)); gst_buffer_unref (buffer); - sink = gst_pad_new ("sink", GST_PAD_SINK); - ASSERT_CRITICAL (gst_pad_get_allowed_caps (sink)); - src = gst_pad_new ("src", GST_PAD_SRC); fail_if (src == NULL); caps = gst_pad_get_allowed_caps (src); @@ -171,6 +168,7 @@ GST_START_TEST (test_get_allowed_caps) caps = gst_caps_from_string ("foo/bar"); + sink = gst_pad_new ("sink", GST_PAD_SINK); gst_pad_set_caps (src, caps); gst_pad_set_caps (sink, caps); ASSERT_CAPS_REFCOUNT (caps, "caps", 3);