event: add sticky flags to events
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 2 May 2011 16:34:18 +0000 (18:34 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 2 May 2011 16:34:18 +0000 (18:34 +0200)
commit2243adffa128c6f508b0926ee00bfb1b18fead5e
tree350221b7ce66c74a4ccd592b528d803a90e50779
parent9d80fbac23ee79e5411514a295b5285d223a5b8b
event: add sticky flags to events

Add the sticky flag to events and a sticky index.
Keep sticky events in an array on each pad.
Remove GST_EVENT_SRC(), it is causing refcycles with sticky events, was not used
and is not very interesting anyway.
gst/gstevent.c
gst/gstevent.h
gst/gstinfo.c
gst/gstpad.c
gst/gstpad.h