mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
tests: caps are not stored on flushing pads
Caps are now also stored on flushing pads in the inactive state.
This commit is contained in:
parent
e83d5320a2
commit
83389aa197
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ GST_START_TEST (test_refcount)
|
|||
/* can't set caps on flushing sinkpad */
|
||||
fail_if (gst_pad_set_caps (sink, caps) == TRUE);
|
||||
/* one for me and one for each set_caps */
|
||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 2);
|
||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 3);
|
||||
|
||||
gst_pad_set_active (sink, TRUE);
|
||||
fail_unless (gst_pad_set_caps (sink, caps) == TRUE);
|
||||
|
@ -178,7 +178,7 @@ GST_START_TEST (test_get_allowed_caps)
|
|||
sink = gst_pad_new ("sink", GST_PAD_SINK);
|
||||
fail_unless (gst_pad_set_caps (src, caps) == TRUE);
|
||||
fail_if (gst_pad_set_caps (sink, caps) == TRUE);
|
||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 2);
|
||||
ASSERT_CAPS_REFCOUNT (caps, "caps", 3);
|
||||
|
||||
gst_pad_set_active (sink, TRUE);
|
||||
fail_unless (gst_pad_set_caps (sink, caps) == TRUE);
|
||||
|
|
Loading…
Reference in a new issue