Commit c553a66a authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

movie view: apply verbose output and stretch options on-the-run

Requires the latest MobileVLCKit to compile
parent dd96571a
......@@ -44,7 +44,11 @@
[super viewDidLoad];
self.wantsFullScreenLayout = YES;
_mediaPlayer = [[VLCMediaPlayer alloc] init];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSArray *options = @[[defaults objectForKey:kVLCSettingVerboseOutput],
[defaults objectForKey:kVLCSettingStretchAudio]];
_mediaPlayer = [[VLCMediaPlayer alloc] initWithOptions:options];
[_mediaPlayer setDelegate:self];
[_mediaPlayer setDrawable:self.movieView];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment