pad: Remove pad probes only once
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 20 Sep 2012 18:48:17 +0000 (14:48 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 20 Sep 2012 19:24:33 +0000 (15:24 -0400)
commit945e0d2be95f2b591b341631b01f7e348e60bd7c
treee5e038cfa03be65131cd2e67a26a7cb70fe7e1aa
parent25b3e02b94df664423c0a23e34829af75f9be0c4
pad: Remove pad probes only once

Also add test to make sure that if a pad probe is removed while it's
callback is running, the cleanup_hook isn't called again if it
returns GST_PAD_PROBE_REMOVE
gst/gstpad.c
tests/check/gst/gstpad.c