[Bug 691299] API: GstFileMemAllocator - an allocator that uses disk storage to provide memory space
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 17 03:30:47 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=691299
GStreamer | gstreamer (core) | git
Wim Taymans <wim.taymans> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim.taymans at gmail.com
--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2013-07-17 10:30:43 UTC ---
There are 2 interesting ways to use this:
1) as a replacement for the system memory allocator.
2) as an allocator proposed in allocation queries.
I can see two separate APIs for this:
1) needs something like
alloc = gst_filemem_allocator_new(gsize size, const gchar *templ);
and then
gst_allocator_set_default (alloc);
You could also have elements do that and propose the allocator but I can't
see why they would right now.
2) needs something like:
alloc = gst_filemem_allocator_new_from_fd (gint fd, ...);
Because if you are to propose this in an allocator you probably have your
own fd somewhere that you want others to write into. I can only think of
a ringbuffer or maybe a muxer.
Maybe you also want to make it possible to grow the file automatically or never
overwrite things (in the case of a muxer).
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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