[gst-devel] Use of own buffer_alloc function
felipe.contreras at gmail.com
Thu Mar 12 10:30:20 CET 2009
On Thu, Mar 12, 2009 at 11:12 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Thu, 2009-03-12 at 09:29 +0200, Felipe Contreras wrote:
>> The filesrc is probably accessing the file with mmap,
> FWIW, filesrc does not use mmap by default, you have to enable that
> manually by setting the right properties (this is mostly for error
> handling reasons).
>> and doing pad_alloc on the demuxer.
> Not sure what you mean by that, but I doubt filesrc ever does a
> gst_pad_alloc_buffer() downstream, since this doesn't really make much
> sense afaics.
Right, I was contradicting myself.
Still the point remains: the memory domains of filesrc and a dma sink
are separate, so a memcpy/mmap is unavoidable.
More information about the gstreamer-devel