Bläddra i källkod

MobileVLCKit: use saner defaults for libVLC init

Jean-Baptiste Kempf 12 år sedan
förälder
incheckning
4b2626deee
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. 9 1
      Sources/VLCLibrary.m

+ 9 - 1
Sources/VLCLibrary.m

@@ -53,7 +53,15 @@ static VLCLibrary * sharedLibrary = nil;
     if (self = [super init]) {
         NSArray *vlcParams;
 #if TARGET_OS_IPHONE
-        vlcParams = @[@"--play-and-pause", @"--no-color", @"--no-video-title-show", @"--verbose=3", @"--avcodec-fast", @"--avcodec-skiploopfilter=all", @"--no-stats", @"--no-plugins-cache", @"--vout=vout_ios2", @"--no-audio-time-stretch"];
+        vlcParams = @[@"--no-color",
+                      @"--no-osd",
+                      @"--no-video-title-show",
+                      @"--no-stats",
+                      @"--verbose=3",
+                      @"--avcodec-fast",
+                      @"--avcodec-skiploopfilter=all",
+                      @"--no-audio-time-stretch"
+                      ];
 #else
         vlcParams = [[NSUserDefaults standardUserDefaults] objectForKey:@"VLCParams"];
         if (!vlcParams) {