From 1dd832f211bfd0baddf2fcc1864af12c6324b5ee Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 6 Jan 2009 15:40:09 +0000 Subject: [PATCH] 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 --- macosx/Controller.mm | 4 ++-- 1 file 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) -- 2.40.0