pad: resend dropped events
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 5 Oct 2012 07:42:59 +0000 (09:42 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 5 Oct 2012 07:51:58 +0000 (09:51 +0200)
commitd630a115f9a35ea36bf7654164abb2f89ca6f4f7
tree3f0852996953750e773e083cffb26c15387e93ff
parent0ae3492f6b915941f3355b23a7d3cfd0c5e74079
pad: resend dropped events

If we try to push sticky events but a probe dropped them, we don't mark
the event as received and mark the pad as PENDING_EVENTS. This ensures
that we resend the event the next time. For this we need to let the
custom flow return from the probe trickle up to
gst_pad_push_event_unchecked() so that we can differentiate between
OK and DROPPED probe returns.
gst/gstpad.c