OSDN Git Service

add bootstrap step to libdca
[handbrake-jp/handbrake-jp-git.git] / macosx / HBOutputPanelController.m
index f4bdf90..2b9fcfe 100644 (file)
 // Original value used by cleaner
 //#define TextStorageUpperSizeLimit 20000
 // lets use this higher value for now for better gui debugging
-#define TextStorageUpperSizeLimit 40000
+#define TextStorageUpperSizeLimit 125000
 
 /// When old output is removed, this is the amount of characters that will be
 /// left in outputTextStorage.
 // Original value used by cleaner
 //#define TextStorageLowerSizeLimit 15000
 // lets use this higher value for now for better gui debugging
-#define TextStorageLowerSizeLimit 35000
+#define TextStorageLowerSizeLimit 120000
 
 @implementation HBOutputPanelController
 
         if( ![[NSFileManager defaultManager] fileExistsAtPath:encodeLogDirectory] )
         {
             [[NSFileManager defaultManager] createDirectoryAtPath:encodeLogDirectory
-                                                       attributes:nil];
+                                            withIntermediateDirectories:NO
+                                            attributes:nil
+                                            error:nil];
         }
         outputLogFileForEncode = [[NSString stringWithFormat:@"%@/%@",encodeLogDirectory,outputDateFileName] retain];   
     }
     if( ![[NSFileManager defaultManager] fileExistsAtPath:encodeLogDirectory] )
     {
         [[NSFileManager defaultManager] createDirectoryAtPath:encodeLogDirectory
-                                                   attributes:nil];
+                                            withIntermediateDirectories:NO
+                                            attributes:nil
+                                            error:nil];
     }
     
     NSAppleScript *myScript = [[NSAppleScript alloc] initWithSource: [NSString stringWithFormat: @"%@%@%@", @"tell application \"Finder\" to open (POSIX file \"", encodeLogDirectory, @"\")"]];