semaphore

James Linder jam at tigger.ws
Fri Nov 11 08:13:22 UTC 2022


Guys Hi

I’ve got a pipeline that has textoverlay elements. I want to dynamically change the text.
Easy, well no …

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
James


More information about the gstreamer-devel mailing list