• Thomas Guillem's avatar
    Media: add a new constructor from an AssetFileDescriptor · 6a39b3a4
    Thomas Guillem authored
    This can be used to open files from the apk asset folder.
    
    Using the simple FileDescriptor constructor can't work since we need 2 extra
    infos: the length and the offset of the file to read.
    
    This new constructor uses the libvlc_media_new_callbacks() function.
    6a39b3a4
libvlcjni-media.c 21.9 KB