On Tue, 2018-01-09 at 11:58 +0100, Albin Stigö wrote:
Hi Albin,
> Is it ok to to call gst_app_src_push_buffer from a separate producer
> thread, is appsrc threadsafe in that way? I have been reading through
> the documentation and examples but a lot of the sample code seem to
> rely on the "need-data" signal or idle function and I would like to
> avoid this.
That should be perfectly fine. appsrc can be either driven by the
"need-data" signal, or simply by some separate producer that just
pushes data into appsrc whenever it becomes available, in which case
the appsrc-internal thread will just wait for more data.
Cheers
-Tim
--
Tim Müller, Centricular Ltd -
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel