event: example of how to optimize events
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 May 2011 09:06:36 +0000 (11:06 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 May 2011 09:06:36 +0000 (11:06 +0200)
commitfa28e2c5e6e5e172be308c0c50f44ed6f39e1a71
tree193fa296668912653ec34fe296dbebcc5cae6dde
parentcf4fbc005c5c530c2a509a943a05b91d6c9af3fb
event: example of how to optimize events

Use a structure for the QoS event by 'extending' the GstEventImpl structure.
This should avoid allocation of GstStructures and its contents.
gst/gstevent.c
tests/check/gst/gstevent.c