pad: further improve probes and pad blocking
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 1 Jun 2011 17:27:55 +0000 (19:27 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 1 Jun 2011 17:39:20 +0000 (19:39 +0200)
commit3f51563319320d3904333f933f7358d2a85fb3b9
tree0a6813b0cb3613bc2d8b01855bec73c41a828b8a
parent8abc457a3b7c1455d759e52fc5164ef066f3fe6f
pad: further improve probes and pad blocking

Keep track of installed number of probes to shortcut emission.
Allow NULL callbacks, this is useful for blocking probes.
Improve probe selection based on the mask, an empty mask for the data or the
scheduling flags equals that all probes match.
Add some more debug info.
Don't check the flushing flag in the probe callback handler, this needs to be
done before calling the handler.
Fix blocking probes.
Fix unit tests
gst/gstpad.c
gst/gstpad.h
tests/check/elements/selector.c
tests/check/generic/sinks.c
tests/check/gst/gstevent.c
tests/check/gst/gstghostpad.c
tests/check/gst/gstpad.c
tests/check/gst/gstutils.c
tests/check/libs/basesrc.c
tests/check/pipelines/queue-error.c