[gst-devel] GstMessage vs GstEvent.

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Apr 5 20:31:43 CEST 2010


On Mon, 2010-04-05 at 06:12 -0800, wl2776 wrote:

> What is the difference between GstMessage and GstEvent?
> The C structs, describing them, differ only in one field.
> Am I right in thinking that they are basically the same thing and only
> difference in them is that the messages are used to communicate between the
> playbin and application, and processed in g_main_loop, while events are for
> communications between elements, and processed in their thread context?

That's roughly right. Pretty picture here:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-intro-basics-communication.html

For more in-depth information, see the design docs.

Cheers
 -Tim





More information about the gstreamer-devel mailing list