nicolas at ndufresne.ca
Sat Nov 12 01:36:15 UTC 2022
Le ven. 11 nov. 2022, 04 h 16, James Linder via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :
> Guys Hi
> I’ve got a pipeline that has textoverlay elements. I want to dynamically
> change the text.
> Easy, well no …
You can simply set the the text property, it's thread safe and the update
will apply to the next buffer going through.
> I thought the least intusive way might be:
> gstreamer process get a signal
> handler grabs semaphore
> reads work to be done
> releases semaphore
> continues with gstreamer code
> but no such luck:
> "I don't think sem_wait() is async-signal safe.” … oops
> I can think of setting a call back timer function but the are probably
> ways unknown to me.
> Suggestions please
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel