[Android] question about code structure to make modifications to vlc to support asset loading
Kevin Whitaker
kevin at lisnr.com
Fri Dec 18 20:55:47 CET 2015
Looking for feedback on this initial code to allow fd uris with offsets.
I'm not often in C land, so please feel free to point out things that may
not be correct.
On Thu, Dec 17, 2015 at 12:10 PM, Jean-Baptiste Kempf <jb at videolan.org>
wrote:
> On 17 Dec, Thomas Guillem wrote :
> > You should have a look at the file module in vlc: modules/access/file.c,
> > especially, the "if (!strcasecmp (p_access->psz_access, "fd"))" block in
> > the FileOpen function. Here, you should extends the module to open an
> > uri that looks like "fd://<id>:offset:length"
>
> please use #
>
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
--
*Kevin Whitaker*
Application Engineer |
*LISNR*
kevin at lisnr.com
website <http://www.lisnr.com/> | twitter <http://twitter.com/lisnr> |
facebook <http://facebook.com/getlisnr>
LISNR in the News:
CNBC - 2015 CNBC Disruptor 50 companies <http://www.cnbc.com/id/102609977>
Adweek - McDonald's 'Shark Tank' Winner at SXSW
<http://www.adweek.com/news/technology/mcdonalds-played-game-shark-tank-sxsw-and-heres-winner-163480>
TechCrunch - R/GA Accelerator Demo Day
<http://techcrunch.com/2015/02/12/at-the-techstars-rga-demo-day-ten-new-iot-companies-go-live/>
*This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the named addressee, you should not disseminate, distribute
or copy this email. Please notify the sender immediately by email if you
have received this email by mistake and delete this email from your system.
If you are not the intended recipient, you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited. Please note that any views or
opinions presented in this email are solely those of the author and do not
necessarily represent those of the LISNR, INC.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20151218/5be27a81/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Adding_support_for_fd_uris_with_offsets_.patch
Type: text/x-patch
Size: 5135 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/android/attachments/20151218/5be27a81/attachment-0001.bin>
More information about the Android
mailing list