summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-01-06 15:40:09 +0000
committerdynaflash <[email protected]>2009-01-06 15:40:09 +0000
commit1dd832f211bfd0baddf2fcc1864af12c6324b5ee (patch)
tree6b1dd66d08d70a2b49a9c5a98717fc887540274e /macosx/Controller.mm
parentc243198c5f3e6fd2505f0a04ad33bfb72e2284ac (diff)
MacGui: include the exact dylib name in the VLC check to pick up out of date versions of VLC
- Update the no vlc window accordingly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2064 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 2f28702f2..d507bbcba 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1389,7 +1389,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
[self writeToActivityLog: "trying to open a physical dvd at: %s", [scanPath UTF8String]];
/* lets check for vlc here to make sure we have a dylib available to use for decrypting */
- NSString *vlcPath = @"/Applications/VLC.app";
+ NSString *vlcPath = @"/Applications/VLC.app/Contents/MacOS/lib/libdvdcss.2.dylib";
NSFileManager * fileManager = [NSFileManager defaultManager];
if ([fileManager fileExistsAtPath:vlcPath] == 0)
{
@@ -1397,7 +1397,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
cancelScanDecrypt = 1;
[self writeToActivityLog: "VLC app not found for decrypting physical dvd"];
int status;
- status = NSRunAlertPanel(@"HandBrake could not find VLC.",@"Please download and install VLC media player in your /Applications folder if you wish to read encrypted DVDs.", @"Get VLC", @"Cancel Scan", @"Attempt Scan Anyway");
+ status = NSRunAlertPanel(@"HandBrake could not find VLC or your VLC is out of date.",@"Please download and install VLC media player in your /Applications folder if you wish to read encrypted DVDs.", @"Get VLC", @"Cancel Scan", @"Attempt Scan Anyway");
[NSApp requestUserAttention:NSCriticalRequest];
if (status == NSAlertDefaultReturn)