[vlc-devel] VLCKit / vlc-media: tying with library instances
Florent Pillet
fpillet at gmail.com
Sun Jul 13 12:18:19 CEST 2014
I was reviewing some of the code in VLCMedia and noticed that this class' instances are being initialized using the default VLCLibrary.
For example this code caught my eye:
> VLCLibrary *library = [VLCLibrary sharedLibrary];
> NSAssert(library.instance, @"no library instance when creating media");
> p_md = libvlc_media_new_location(library.instance, [[anURL absoluteString] UTF8String]);
Since it is possible to instantiate a VLCMediaPlayer linked to a different instance of VLCLibrary with different options, what is the significance and impact of potentially tying a VLCMedia to a library other than the one selected for playback ?
Florent
More information about the vlc-devel
mailing list