+2005-07-04 Andy Wingo <wingo@pobox.com>
+
+ * check/gst/gstpad.c: Only set explicit caps on pads.
+
2005-07-01 Andy Wingo <wingo@pobox.com>
* tests/network-clock.scm: Commentary update.
sink = gst_pad_new ("sink", GST_PAD_SINK);
fail_if (sink == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
gst_pad_set_caps (src, caps);
gst_pad_set_caps (sink, caps);
src = gst_pad_new ("src", GST_PAD_SRC);
fail_if (src == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
/* one for me */
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
caps = gst_pad_get_allowed_caps (src);
fail_unless (caps == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
gst_pad_set_caps (src, caps);
gst_pad_set_caps (sink, caps);
sink = gst_pad_new ("sink", GST_PAD_SINK);
fail_if (sink == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
gst_pad_set_caps (src, caps);
gst_pad_set_caps (sink, caps);
src = gst_pad_new ("src", GST_PAD_SRC);
fail_if (src == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
/* one for me */
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
caps = gst_pad_get_allowed_caps (src);
fail_unless (caps == NULL);
- caps = gst_caps_new_any ();
+ caps = gst_caps_from_string ("foo/bar");
gst_pad_set_caps (src, caps);
gst_pad_set_caps (sink, caps);