浏览代码

cosmetics

Felix Paul Kühne 10 年之前
父节点
当前提交
286e3a9304
共有 2 个文件被更改,包括 3 次插入5 次删除
  1. 1 4
      Sources/VLCEqualizerView.m
  2. 2 1
      Sources/VLCMovieViewController.m

+ 1 - 4
Sources/VLCEqualizerView.m

@@ -327,13 +327,10 @@
     unsigned int profile = (unsigned int)[[[NSUserDefaults standardUserDefaults] objectForKey:kVLCSettingEqualizerProfile] integerValue];
 
     if (profile == row)
-    {
         [cell setShowsCurrentTrack:YES];
-    }
     else
-    {
         [cell setShowsCurrentTrack:NO];
-    }
+
     return cell;
 }
 

+ 2 - 1
Sources/VLCMovieViewController.m

@@ -408,6 +408,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
         _trackSelectorTableView.backgroundColor = [UIColor clearColor];
     } else
         _trackSelectorTableView.backgroundColor = [UIColor blackColor];
+    _trackSelectorTableView.allowsMultipleSelection = YES;
 
     [self.view addSubview:_trackSelectorContainer];
 
@@ -524,7 +525,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
     if (self.pathToExternalSubtitlesFile)
         _listPlayer = [[VLCMediaListPlayer alloc] initWithOptions:@[[NSString stringWithFormat:@"--%@=%@", kVLCSettingSubtitlesFilePath, self.pathToExternalSubtitlesFile]]];
     else
-        _listPlayer = [[VLCMediaListPlayer alloc] initWithOptions:@[@"-vvvv"]];
+        _listPlayer = [[VLCMediaListPlayer alloc] init];
 
     _mediaPlayer = _listPlayer.mediaPlayer;
     [_mediaPlayer setDelegate:self];