[gst-devel] problem with filesrc

Andy Wingo wingo at pobox.com
Mon Mar 27 23:53:04 CEST 2006


Hi Vinay,

On Mon, 2006-03-27 at 15:48 -0600, Vinay Krishnamurthy wrote:
> I am successfully able to decode first few hundred frames. But after
> some time, the filesrc gives me an error saying
> 
> ERROR: from element /pipeline0/filesrc0: Could not open resource for reading.
> Additional debug info:
> gstfilesrc.c(531): gst_file_src_map_region (): /pipeline0/filesrc0:
> mmap (0x00400000, 16, 0x1400000) failed: Cannot allocate memory

Something is leaking references to the buffers that filesrc pushes out,
which keeps the mapped regions of the file open. Make sure whatever
element is downstream does proper refcounting. If you need to hold on to
the data, take a copy.

Regards,
-- 
Andy Wingo
http://wingolog.org/





More information about the gstreamer-devel mailing list