]> granicus.if.org Git - handbrake/commitdiff
MacGui: rename a preference key and remove a duplicated log message about libdvdcss
authorDamiano Galassi <damiog@gmail.com>
Mon, 5 Oct 2015 16:10:49 +0000 (18:10 +0200)
committerDamiano Galassi <damiog@gmail.com>
Mon, 5 Oct 2015 16:10:49 +0000 (18:10 +0200)
macosx/HBController.m

index 9005c3dfda78b014330ce3681de7ae444a36aec4..ac7f4ada6503f5dc36c90831f473589288c8e97b 100644 (file)
     [fSrcTitlePopUp removeAllItems];
 
     NSError *outError = NULL;
-    BOOL suppressWarning = [[NSUserDefaults standardUserDefaults] boolForKey:@"suppresslibdvdcss"];
+    BOOL suppressWarning = [[NSUserDefaults standardUserDefaults] boolForKey:@"suppressCopyProtectionAlert"];
 
     // Check if we can scan the source and if there is any warning.
     BOOL canScan = [self.core canScan:scanURL error:&outError];
     if (canScan && [outError code] == 101 && !suppressWarning)
     {
         // Only show the user this warning once. They may be using a solution we don't know about. Notifying them each time is annoying.
-        [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"suppresslibdvdcss"];
-
-        // Compatible libdvdcss not found
-        [HBUtilities writeToActivityLog: "libdvdcss.2.dylib not found for decrypting physical dvd"];
+        [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"suppressCopyProtectionAlert"];
 
         NSAlert *alert = [[NSAlert alloc] init];
         [alert setMessageText:NSLocalizedString(@"Copy-Protected sources are not supported.", nil)];