MacOSX/Framework: Updated the test project to conform with the latest changes in...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 02:20:11 +0000 (02:20 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 2 Jan 2008 02:20:11 +0000 (02:20 +0000)
extras/MacOSX/Framework/Examples/test2/Controller.m
extras/MacOSX/Framework/Examples/test2/test.xcodeproj/project.pbxproj

index 54673a5..04f353a 100644 (file)
@@ -120,7 +120,7 @@ static void *sleepForMe(void)
     for (i = 0; i < [droppedItems count]; i++)
     {
         NSString * filename = [droppedItems objectAtIndex:i];
-               VLCMedia *media = [VLCMedia mediaWithURL:filename];
+               VLCMedia * media = [VLCMedia mediaWithURL:[NSURL fileURLWithPath:filename]];
                NSLog(@"%@ length = %@", media, [media lengthWaitUntilDate:[NSDate dateWithTimeIntervalSinceNow:60]]);
                [playlist addMedia:media];
     }
index 7f52132..92ca560 100644 (file)
                29B97313FDCFA39411CA2CEA /* Project object */ = {
                        isa = PBXProject;
                        buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "test" */;
+                       compatibilityVersion = "Xcode 2.4";
                        hasScannedForEncodings = 1;
                        mainGroup = 29B97314FDCFA39411CA2CEA /* test */;
                        projectDirPath = "";
                                        ProjectRef = EFD552230CC6DF190074CEE1 /* VLC.xcodeproj */;
                                },
                        );
+                       projectRoot = "";
                        targets = (
                                8D1107260486CEB800E47090 /* test */,
                        );