diff options
Diffstat (limited to 'tests/check/elements/avimux.c')
-rw-r--r-- | tests/check/elements/avimux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/check/elements/avimux.c b/tests/check/elements/avimux.c index 4dfae1a1..00dea6f2 100644 --- a/tests/check/elements/avimux.c +++ b/tests/check/elements/avimux.c @@ -100,8 +100,9 @@ teardown_src_pad (GstElement * element, gchar * sinkname) gst_pad_unlink (srcpad, sinkpad); - /* after unlinking, pad refs held by 1) avimux and 2) us (through _get) */ - ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 2); + /* after unlinking, pad refs still held by + * 1) avimux and 2) collectpads and 3) us (through _get) */ + ASSERT_OBJECT_REFCOUNT (sinkpad, "sinkpad", 3); gst_object_unref (sinkpad); /* one more ref is held by element itself */ |