mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
check/gst/gstpad.c: Only set explicit caps on pads.
Original commit message from CVS: 2005-07-04 Andy Wingo <wingo@pobox.com> * check/gst/gstpad.c: Only set explicit caps on pads.
This commit is contained in:
parent
c1d34b8acf
commit
d7a711c35f
3 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2005-07-01 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* tests/network-clock.scm: Commentary update.
|
* tests/network-clock.scm: Commentary update.
|
||||||
|
|
|
@ -75,7 +75,7 @@ START_TEST (test_link_unlink_threaded)
|
||||||
sink = gst_pad_new ("sink", GST_PAD_SINK);
|
sink = gst_pad_new ("sink", GST_PAD_SINK);
|
||||||
fail_if (sink == NULL);
|
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 (src, caps);
|
||||||
gst_pad_set_caps (sink, caps);
|
gst_pad_set_caps (sink, caps);
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ START_TEST (test_refcount)
|
||||||
src = gst_pad_new ("src", GST_PAD_SRC);
|
src = gst_pad_new ("src", GST_PAD_SRC);
|
||||||
fail_if (src == NULL);
|
fail_if (src == NULL);
|
||||||
|
|
||||||
caps = gst_caps_new_any ();
|
caps = gst_caps_from_string ("foo/bar");
|
||||||
/* one for me */
|
/* one for me */
|
||||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
|
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ START_TEST (test_get_allowed_caps)
|
||||||
caps = gst_pad_get_allowed_caps (src);
|
caps = gst_pad_get_allowed_caps (src);
|
||||||
fail_unless (caps == NULL);
|
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 (src, caps);
|
||||||
gst_pad_set_caps (sink, caps);
|
gst_pad_set_caps (sink, caps);
|
||||||
|
|
|
@ -75,7 +75,7 @@ START_TEST (test_link_unlink_threaded)
|
||||||
sink = gst_pad_new ("sink", GST_PAD_SINK);
|
sink = gst_pad_new ("sink", GST_PAD_SINK);
|
||||||
fail_if (sink == NULL);
|
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 (src, caps);
|
||||||
gst_pad_set_caps (sink, caps);
|
gst_pad_set_caps (sink, caps);
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ START_TEST (test_refcount)
|
||||||
src = gst_pad_new ("src", GST_PAD_SRC);
|
src = gst_pad_new ("src", GST_PAD_SRC);
|
||||||
fail_if (src == NULL);
|
fail_if (src == NULL);
|
||||||
|
|
||||||
caps = gst_caps_new_any ();
|
caps = gst_caps_from_string ("foo/bar");
|
||||||
/* one for me */
|
/* one for me */
|
||||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
|
ASSERT_CAPS_REFCOUNT (caps, "caps", 1);
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ START_TEST (test_get_allowed_caps)
|
||||||
caps = gst_pad_get_allowed_caps (src);
|
caps = gst_pad_get_allowed_caps (src);
|
||||||
fail_unless (caps == NULL);
|
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 (src, caps);
|
||||||
gst_pad_set_caps (sink, caps);
|
gst_pad_set_caps (sink, caps);
|
||||||
|
|
Loading…
Reference in a new issue