VLCMedia Options doesn't work
Posted: 05 Jun 2014 23:51
Hi,
I'm trying to add option to VLCMedia object and I watch the video but the options doesn't work. I've tried several parameters from Command line help.
I've tried several vlckit nightly builds but nothing.
I'm trying to add option to VLCMedia object and I watch the video but the options doesn't work. I've tried several parameters from Command line help.
I've tried several vlckit nightly builds but nothing.
Code: Select all
VLCVideoView *videoView = [[VLCVideoView alloc] initWithFrame:myFrame];
[[self contentView]addSubview:videoView];
self.player = [[VLCMediaPlayer alloc] initWithVideoView:videoView];
VLCMedia *media = [VLCMedia mediaWithPath:filePath];
[media addOptions:@{@"--blur-factor" : @(10)}];
[media addOptions:@{@"-blur-factor" : @(10)}];
[media addOptions:@{@"blur-factor" : @(10)}];
[media addOptions:@{@":blur-factor" : @(10)}];
[media addOptions:@{@"--freetype-bold" : [NSNull null]}];
[media addOptions:@{@"-freetype-bold" : [NSNull null]}];
[media addOptions:@{@"freetype-bold" : [NSNull null]}];
[media addOptions:@{@":freetype-bold" : [NSNull null]}];
[self.player setMedia:media];