[Bug 747270] avfvideosrc: BUFFER_QUEUE_SIZE too small

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 3 10:08:20 PDT 2015


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

--- Comment #10 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
(In reply to Nicolas Dufresne (stormer) from comment #9)
> AVF Has quite some code, and I suppose it's not entirely needed.

That's the main point here, I believe. AVF does things like pooling sample
buffers and has a lot of concern for this already. Also, Darwin's dispatch
queues is a producer-consumer queue already.

> is likely done this way to fit the push src model (which is the easiest way
> to write a source in GST).

We might replace NSMutableArray+NSConditionLock with GAsyncQueue, but to assure
best performance, I think we should learn to push buffers from the AVF
dispatch.

I remember either you or Tim said that it's basically re-doing GBaseSrc, but
perhaps it's not as complicated, seeing that a lot of what GBaseSrc does deals
with non-live streams.

-- 
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