pad: Add API to wakeup pad blocks
@slomo
Submitted by Sebastian Dröge Link to original bug (#721548)
Description
+++ This bug was initially created as a clone of Bug 721289 +++
See the original bug for a use case. API should probably be something like
void gst_pad_unblock(pad, probe_return);
Which then broadcasts the GCond and stores the probe_return somewhere. What should then happen is:
a) PROBE_OK
- Run all probes another time
b) PROBE_PASS
- Do as if one of the probes had returned PASS
c) PROBE_DROP
- Do as if one of the probes had returned DROP
d) PROBE_REMOVE
- Nothing