[gst-devel] gst_element_send_event - textoverlay

Wim Taymans wim.taymans at gmail.com
Mon Mar 17 19:08:44 CET 2008


On Mon, 2008-03-17 at 19:01 +0100, Julien Isorce wrote:
> Hi
> 
> I would like to know if gst_element_send_event is thread safe ?

The -core implementations are threadsafe. If this is actually threadsafe
for a particular element depends on the element.

> 
> Actually I want to set the textoverlay's property "text" from an other
> thread than the main thread. 

The text property does not seem to be threadsafe from looking at the
code. It also probably does not do what you think it does.

> Is there an existing event which can do that ? If it doest not already
> exist, do you have an example that shows how to create an textEvent
> (then i call : gst_element_send_event( textoverlayElement, textEvent)

We don't have any text events, what would you use them for?

Wim
> 
> Thx
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list