+2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
+
+ * tests/check/gst/gstpad.c: (test_get_allowed_caps):
+ Fix 'make check' too.
+
2007-01-10 Andy Wingo <wingo@pobox.com>
* docs/design/part-negotiation.txt: Fix a typo, add a couple
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);
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);