[Bug 747414] basesrc: Enable pushing frames from OS thread

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 6 17:41:40 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747414

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
I have some somewhat related changes to this that I need to clean up and put up
for discussion.

So in your case, which thread would be responsible for all the other things
that the basesrc task does? Sending events, negotiation, etc. The thread you
want to use for pushing can't really be used for that, as we don't have control
over when it runs... it only ever runs when it decides to give us some data.


(In reply to Ilya Konstantinov from comment #0)
> The rationale -- "solving" this with a GAsyncQueue has two problems:
>  - with a small queue, latency, perf will suffer due to blocking on kernel
> lock

How is that different from blocking the thread directly that gave us data? I.e.
what you propose

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list