Threading in callbacks

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Dec 30 23:22:03 UTC 2018


On Sun, 2018-12-30 at 16:55 -0600, moritz.vieli wrote:

Hi Moritz,

> I tried pulling the buffers from a completely different thread
> instead of getting called but still the same problem. It seems like
> *getting* the MIDI buffers from Gstreamer interrupts the audio
> streaming. Only registering the callback and doing in it what I want,
> is no problem. But as soon as I get the buffers, Gstreamer has issues
> under high load. Is there somehow a bottleneck here?

It would be useful if you could post/describe your pipeline and perhaps
even make available your code or a small sample program that
demonstrates the issue you're seeing.

Cheers
 Tim



More information about the gstreamer-devel mailing list