diff options
author | Rodeo <[email protected]> | 2012-02-14 03:02:02 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-02-14 03:02:02 +0000 |
commit | e249cb1d709572cc7ef8013a298d808221b1cc25 (patch) | |
tree | 01f3eb3a79748f1cde8111296a93505489db5f86 /macosx | |
parent | f24bfbf0b650b2549d2de4f48e9bb5ff3469a678 (diff) |
MacGUI: chnage the wording of the "dvdcss not found" warning to reflect that VLC is no longer the preferred solution for DVD decryption.
Users now get directed to a page where they can download a .pkg installer for libdvdcss. Thanks, Videolan!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4447 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index dbecb9018..feb490dae 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1738,33 +1738,34 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It { /*compatible vlc not found, so we set the bool to cancel scanning to 1 */ cancelScanDecrypt = 1; - [self writeToActivityLog: "VLC app not found for decrypting physical dvd"]; + [self writeToActivityLog: "libdvdcss.2.dylib not found for decrypting physical dvd"]; int status; - status = NSRunAlertPanel(@"HandBrake could not find VLC or your VLC is incompatible (Note: 32 bit vlc is not compatible with 64 bit HandBrake and vice-versa).",@"Please download and install VLC media player if you wish to read encrypted DVDs.", @"Get VLC", @"Cancel Scan", @"Attempt Scan Anyway"); + status = NSRunAlertPanel(@"HandBrake could not find a compatible version of libdvdcss (32-bit libdvdcss is not compatible with 64-bit HandBrake and vice-versa).", + @"Please download and install libdvdcss.pkg if you wish to read encrypted DVDs.", @"Get libdvdcss.pkg", @"Cancel Scan", @"Attempt Scan Anyway"); [NSApp requestUserAttention:NSCriticalRequest]; if (status == NSAlertDefaultReturn) { /* User chose to go download vlc (as they rightfully should) so we send them to the vlc site */ - [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://www.videolan.org/vlc/download-macosx.html"]]; + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://download.videolan.org/libdvdcss/last/macosx/"]]; } else if (status == NSAlertAlternateReturn) { /* User chose to cancel the scan */ - [self writeToActivityLog: "cannot open physical dvd , scan cancelled"]; + [self writeToActivityLog: "cannot open physical dvd, scan cancelled"]; } else { /* User chose to override our warning and scan the physical dvd anyway, at their own peril. on an encrypted dvd this produces massive log files and fails */ cancelScanDecrypt = 0; - [self writeToActivityLog: "user overrode vlc warning -trying to open physical dvd without decryption"]; + [self writeToActivityLog: "user overrode dvdcss warning - trying to open physical dvd without decryption"]; } } else { /* VLC was found in /Applications so all is well, we can carry on using vlc's libdvdcss.dylib for decrypting if needed */ - [self writeToActivityLog: "VLC app found for decrypting physical dvd"]; + [self writeToActivityLog: "libdvdcss.2.dylib found for decrypting physical dvd"]; vlcFound = 1; dlclose(dvdcss); } |