pad: Mark sticky events as sent on not-linked
authorJan Schmidt <jan@centricular.com>
Sat, 31 Oct 2015 13:04:27 +0000 (00:04 +1100)
committerJan Schmidt <jan@centricular.com>
Sun, 1 Nov 2015 12:16:44 +0000 (23:16 +1100)
commitca22e60b917d11e0e69d82e02282dac6f69b1779
tree0982559d076bdd9fdf0744de33fb9ac6bca4376d
parenta5001312cd04bd9ddec3287304adb2fa917c82bd
pad: Mark sticky events as sent on not-linked

Instead of re-sending sticky events over and over to a not-linked
pad, mark them as sent the first time. If the not-linked came from
downstream, it already received the events. If the pad is actually
not-linked, the sticky events will be rescheduled when the
pad is linked anyway.
gst/gstpad.c