gstcheck: Don't check pad refcount too early
authorEdward Hervey <bilboed@bilboed.com>
Sun, 5 Dec 2010 13:46:28 +0000 (14:46 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sun, 5 Dec 2010 13:46:28 +0000 (14:46 +0100)
commit4525a405d5b00f797e983a7008f29efa75425de6
tree62599372ad775cd1744854ecc6c273cac5096068
parentc044024e2c90f341339397c73d9523e0340fa5c4
gstcheck: Don't check pad refcount too early

Because of the new pad caching system, the peer pad might still
have a reference on a pad. We therefore delay the refcount checking
til 'after' we unlink the pad from any potential peer.
libs/gst/check/gstcheck.c