[vlc-devel] [PROPOSAL] lib: New API to use imem for access.

Rémi Denis-Courmont remi at remlab.net
Mon Jan 13 15:52:02 CET 2014

(Sorry for top posting)

I think there should be provisions for seeking so we do not need to break the interface later. It should not be hard to have 4 callbacks (open, close, read, seek) like glibc fopencookie(). If the seek callback is NULL, then CANSEEK will be false.

Support for demux is a totally different thing IMHO. No need to tie both.

Note that I have yet to review the patch. Those were only general comments.


Rémi Denis-Courmont
Sent from my NVIDIA Tegra-powered device

----- Reply message -----
De : "Mark Lee" <mark.lee at capricasoftware.co.uk>
Pour : <vlc-devel at videolan.org>
Objet : [vlc-devel] [PROPOSAL] lib: New API to use imem for access.
Date : lun., janv. 13, 2014 15:48

This patch is a strawman proposal to add an API for imem access
via LibVLC.

The patch is tested and working, but is limited in scope to using
imem for access, and not (yet) for demux.

I wanted some early feedback to see if a) it's on the right track,
or not; b) get some input on what the API should be like (e.g.
should demux also be exposed, should it be the same or separate
API etc); and c) see if people think it's actually useful or not.

To be honest I am sceptical about the general usefulness since
seeking is not supported by imem, and people who ask about this
often say they need seeking too - but here it is anyway...
vlc-devel mailing list
To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140113/54f3d885/attachment.html>

More information about the vlc-devel mailing list