event: add STICKY_MULTY events
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 23 Nov 2011 16:50:17 +0000 (17:50 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 23 Nov 2011 17:05:00 +0000 (18:05 +0100)
commit407f45dc7fb1812162476ac35ad7cbc1eed8052d
tree6f353d553e84b4cd118246a6101f04af5307c4fc
parentb7e4eeb0b06b164c845a958651e3a731e60e7bee
event: add STICKY_MULTY events

Add a new event flag for sticky events so that multiple events of that type can
be stored on a pad at the same time. Change the _get_sticky_event() function to
loop over the multiple events of a type.
Change the foreach function to make it possible to removed and modify the sticky
events on a pad.
Use an variable size array now to store the events. This could later be
optimized some more.
gst/gstevent.h
gst/gstpad.c
gst/gstpad.h
plugins/elements/gstoutputselector.c
plugins/elements/gsttee.c