From: Damiano Galassi Date: Sat, 17 Oct 2015 08:48:46 +0000 (+0200) Subject: Remove obsolete InstantHandBrake project. X-Git-Tag: 1.0.0~836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=939b94eba272c4125906441e8f07296d8236dc8a;p=handbrake Remove obsolete InstantHandBrake project. --- diff --git a/macosx/InstantHandBrake/Device.h b/macosx/InstantHandBrake/Device.h deleted file mode 100644 index 92a7f18b9..000000000 --- a/macosx/InstantHandBrake/Device.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Preset.h -// InstantHandBrake -// -// Created by Damiano Galassi on 15/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import -#import "Preset.h" - - -@interface Device : NSObject { - NSString * deviceName; - NSMutableArray * presetsArray; -} - -- (id) initWithDeviceName:(NSString *) name; -- (void) addPreset: (Preset *) preset; - -- (NSString *) name; -- (Preset *) firstPreset; - -@end diff --git a/macosx/InstantHandBrake/Device.m b/macosx/InstantHandBrake/Device.m deleted file mode 100644 index fec63de18..000000000 --- a/macosx/InstantHandBrake/Device.m +++ /dev/null @@ -1,63 +0,0 @@ -// -// Preset.h -// InstantHandBrake -// -// Created by Damiano Galassi on 15/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import "Device.h" - - -@implementation Device - -- (id)initWithDeviceName:(NSString *) name -{ - if (self = [super init]) - { - deviceName = name; - presetsArray = [[NSMutableArray alloc] init]; - } - return self; -} - -- (void) dealloc -{ - [presetsArray release]; - [super dealloc]; -} - -- (id) initWithCoder:(NSCoder *) coder -{ - deviceName = [[coder decodeObjectForKey:@"DeviceName"] retain]; - presetsArray = [[coder decodeObjectForKey:@"Presets"] retain]; - - return self; -} - -- (void) encodeWithCoder:(NSCoder *)encoder -{ - [encoder encodeObject: deviceName forKey:@"DeviceName"]; - [encoder encodeObject: presetsArray forKey:@"Presets"]; -} - -- (void) addPreset: (Preset *) preset -{ - [presetsArray addObject:preset]; - [preset release]; -} - -- (NSString *) name -{ - return deviceName; -} - -- (Preset *) firstPreset -{ - return [presetsArray objectAtIndex:0]; -} - -@end diff --git a/macosx/InstantHandBrake/DeviceController.h b/macosx/InstantHandBrake/DeviceController.h deleted file mode 100644 index 7f8b47c4b..000000000 --- a/macosx/InstantHandBrake/DeviceController.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// DeviceController.h -// InstantHandBrake -// -// Created by Damiano Galassi on 23/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import -#import "device.h" - -@interface DeviceController : NSObject { - NSMutableArray *devicesArray; - NSString *appSupportPath; -} - -- (id)init; -- (BOOL) loadDevices; -- (BOOL) loadBuiltInDevices; -- (id)populateList; -- (NSArray *) devicesList; -- (BOOL) saveDevices; - - -@end diff --git a/macosx/InstantHandBrake/DeviceController.m b/macosx/InstantHandBrake/DeviceController.m deleted file mode 100644 index 0834bbc91..000000000 --- a/macosx/InstantHandBrake/DeviceController.m +++ /dev/null @@ -1,159 +0,0 @@ -// -// DeviceController.m -// InstantHandBrake -// -// Created by Damiano Galassi on 23/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import "DeviceController.h" -#import "hb.h" - -@implementation DeviceController - -- (id)init -{ - if (self = [super init]) - { - devicesArray = [[NSMutableArray alloc] init]; - appSupportPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Application Support/Instant HandBrake"]; - [self loadBuiltInDevices]; - [self loadDevices]; - } - return self; -} - -- (void) dealloc -{ - [devicesArray release]; - [super dealloc]; -} - -- (BOOL) loadBuiltInDevices -{ - NSBundle *bundle = [NSBundle mainBundle]; - NSArray *path = [bundle pathsForResourcesOfType:@"ihbdevice" inDirectory:@"Devices"]; - - Device *newDevice; - NSString *file; - - NSEnumerator *dirEnum = [path objectEnumerator]; - while (file = [dirEnum nextObject]) - { - newDevice = [NSKeyedUnarchiver unarchiveObjectWithFile:file]; - [devicesArray addObject:newDevice]; - } - - if ( ![devicesArray count] ) - return NO; - else - return YES; -} - -- (BOOL) loadDevices -{ - NSString *file; - NSFileManager *fileManager = [NSFileManager defaultManager]; - Device *newDevice; - - NSDirectoryEnumerator *dirEnum = [fileManager enumeratorAtPath:appSupportPath]; - while (file = [dirEnum nextObject]) - { - if ([[file pathExtension] isEqualToString: @"ihbdevice"]) - { - newDevice = [NSKeyedUnarchiver unarchiveObjectWithFile:[appSupportPath stringByAppendingPathComponent:file]]; - [devicesArray addObject:newDevice]; - } - } - - if ( ![devicesArray count] ) - return NO; - else - return YES; -} - -/* Use this to create a new device preset for now */ - -- (id) populateList -{ - [devicesArray addObject:[[Device alloc] initWithDeviceName: @"iPod"]]; - [devicesArray addObject:[[Device alloc] initWithDeviceName: @"PSP"]]; - [devicesArray addObject:[[Device alloc] initWithDeviceName: @"AppleTV"]]; - - Preset *newPreset; - newPreset = [[Preset alloc] initWithMuxer: HB_MUX_IPOD - videoCodec: HB_VCODEC_X264 - videoBitRate: 1500 - videoCodecOptions: @"bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subq=6:no-fast-pskip=1:level=30" - audioCodec: HB_ACODEC_FAAC - audioBitrate: 128 - audioSampleRate: 48000 - maxWidth: 640 - maxHeight: 480 - anamorphic: 0]; - - [[devicesArray objectAtIndex:0] addPreset:newPreset]; - - newPreset = [[Preset alloc] initWithMuxer: HB_MUX_MP4 - videoCodec: HB_VCODEC_X264 - videoBitRate: 600 - videoCodecOptions: @"" - audioCodec: HB_ACODEC_FAAC - audioBitrate: 128 - audioSampleRate: 48000 - maxWidth: 480 - maxHeight: 272 - anamorphic: 0]; - - [[devicesArray objectAtIndex:1] addPreset:newPreset]; - - newPreset = [[Preset alloc] initWithMuxer: HB_MUX_MP4 - videoCodec: HB_VCODEC_X264 - videoBitRate: 2500 - videoCodecOptions: @"bframes=3:ref=1:subq=5:me=umh:no-fast-pskip=1:trellis=1:cabac=0" - audioCodec: HB_ACODEC_FAAC - audioBitrate: 160 - audioSampleRate: 48000 - maxWidth: 720 - maxHeight: 576 - anamorphic: 1]; - - [[devicesArray objectAtIndex:2] addPreset:newPreset]; -} - -- (NSArray *) devicesList -{ - NSArray *deviceList = [devicesArray copy]; - [deviceList autorelease]; - - return deviceList; -} - -- (BOOL) saveDevices -{ - NSFileManager *fileManager = [NSFileManager defaultManager]; - BOOL noErr = YES; - - if( ![fileManager fileExistsAtPath:appSupportPath] ) - [fileManager createDirectoryAtPath:appSupportPath attributes:nil]; - - NSEnumerator *enumerator; - Device *object; - enumerator = [devicesArray objectEnumerator]; - - while( object = [enumerator nextObject] ) - { - NSString * saveLocation = [NSString stringWithFormat:@"%@/%@.ihbdevice", appSupportPath, [object name]]; - if (![fileManager fileExistsAtPath:saveLocation]) - { - noErr = [NSKeyedArchiver archiveRootObject:object - toFile:saveLocation]; - } - } - return noErr; -} - -@end diff --git a/macosx/InstantHandBrake/Devices/AppleTV.ihbdevice b/macosx/InstantHandBrake/Devices/AppleTV.ihbdevice deleted file mode 100644 index 3375fe508..000000000 Binary files a/macosx/InstantHandBrake/Devices/AppleTV.ihbdevice and /dev/null differ diff --git a/macosx/InstantHandBrake/Devices/PSP.ihbdevice b/macosx/InstantHandBrake/Devices/PSP.ihbdevice deleted file mode 100644 index aadda3d27..000000000 Binary files a/macosx/InstantHandBrake/Devices/PSP.ihbdevice and /dev/null differ diff --git a/macosx/InstantHandBrake/Devices/iPod.ihbdevice b/macosx/InstantHandBrake/Devices/iPod.ihbdevice deleted file mode 100644 index 61357e037..000000000 Binary files a/macosx/InstantHandBrake/Devices/iPod.ihbdevice and /dev/null differ diff --git a/macosx/InstantHandBrake/DriveDetector.h b/macosx/InstantHandBrake/DriveDetector.h deleted file mode 100644 index a00f7735e..000000000 --- a/macosx/InstantHandBrake/DriveDetector.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DriveDetector.h $ - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#import - -@interface DriveDetector : NSObject -{ - id fTarget; - SEL fSelector; - - int fCount; - NSMutableDictionary * fDrives; - NSTimer * fTimer; -} - -- (id) initWithCallback: (id) target selector: (SEL) selector; -- (void) run; -- (void) stop; - -@end diff --git a/macosx/InstantHandBrake/DriveDetector.m b/macosx/InstantHandBrake/DriveDetector.m deleted file mode 100644 index e9fe1212a..000000000 --- a/macosx/InstantHandBrake/DriveDetector.m +++ /dev/null @@ -1,142 +0,0 @@ -/* DriveDetector.m $ - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#include -#include -#include -#include -#include - -#include "DriveDetector.h" -#include "hb.h" - -@interface DriveDetector (Private) - -- (void) detectTimer: (NSTimer *) timer; - -@end - -@implementation DriveDetector - -- (void) dealloc -{ - [fDrives release]; - [super dealloc]; -} - -- (id) initWithCallback: (id) target selector: (SEL) selector -{ - fTarget = target; - fSelector = selector; - - fCount = -1; - fDrives = [[NSMutableDictionary alloc] initWithCapacity: 1]; - - return self; -} - -- (void) run -{ - /* Set up a timer to check devices every second */ - fTimer = [NSTimer scheduledTimerWithTimeInterval: 2.0 target: self - selector: @selector( detectTimer: ) userInfo: nil repeats: YES]; - [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: - NSModalPanelRunLoopMode]; - - /* Do a first update right away */ - [fTimer fire]; -} - -- (void) stop -{ - [fTimer invalidate]; -} - -- (void) detectTimer: (NSTimer *) timer -{ - /* Scan DVD drives (stolen from VLC) */ - io_object_t next_media; - mach_port_t master_port; - kern_return_t kern_result; - io_iterator_t media_iterator; - CFMutableDictionaryRef classes_to_match; - - kern_result = IOMasterPort( MACH_PORT_NULL, &master_port ); - if( kern_result != KERN_SUCCESS ) - { - return; - } - - classes_to_match = IOServiceMatching( kIODVDMediaClass ); - if( classes_to_match == NULL ) - { - return; - } - - CFDictionarySetValue( classes_to_match, CFSTR( kIOMediaEjectableKey ), - kCFBooleanTrue ); - - kern_result = IOServiceGetMatchingServices( master_port, - classes_to_match, &media_iterator ); - if( kern_result != KERN_SUCCESS ) - { - return; - } - - [fDrives removeAllObjects]; - - next_media = IOIteratorNext( media_iterator ); - if( next_media ) - { - char * name; - char psz_buf[0x32]; - size_t dev_path_length; - CFTypeRef str_bsd_path; - do - { - str_bsd_path = - IORegistryEntryCreateCFProperty( next_media, - CFSTR( kIOBSDNameKey ), - kCFAllocatorDefault, - 0 ); - if( str_bsd_path == NULL ) - { - IOObjectRelease( next_media ); - continue; - } - - snprintf( psz_buf, sizeof(psz_buf), "%s%c", _PATH_DEV, 'r' ); - dev_path_length = strlen( psz_buf ); - - if( CFStringGetCString( (CFStringRef) str_bsd_path, - (char*)&psz_buf + dev_path_length, - sizeof(psz_buf) - dev_path_length, - kCFStringEncodingASCII ) ) - { - if( ( name = hb_dvd_name( psz_buf ) ) ) - { - [fDrives setObject: [NSString stringWithCString: psz_buf] - forKey: [NSString stringWithCString: name]]; - } - } - - CFRelease( str_bsd_path ); - - IOObjectRelease( next_media ); - - } while( ( next_media = IOIteratorNext( media_iterator ) ) ); - } - - IOObjectRelease( media_iterator ); - - if( [fDrives count] != fCount ) - { - [fTarget performSelector: fSelector withObject: fDrives]; - fCount = [fDrives count]; - } -} - -@end diff --git a/macosx/InstantHandBrake/English.lproj/Express.xib b/macosx/InstantHandBrake/English.lproj/Express.xib deleted file mode 100644 index c1adf0145..000000000 --- a/macosx/InstantHandBrake/English.lproj/Express.xib +++ /dev/null @@ -1,3791 +0,0 @@ - - - - 1050 - 14D72i - 7515.2 - 1347.13 - 758.30 - - com.apple.InterfaceBuilder.CocoaPlugin - 7515.2 - - - NSBox - NSButton - NSButtonCell - NSCustomObject - NSCustomView - NSMatrix - NSMenu - NSMenuItem - NSPopUpButton - NSPopUpButtonCell - NSProgressIndicator - NSScrollView - NSScroller - NSTableColumn - NSTableHeaderView - NSTableView - NSTextField - NSTextFieldCell - NSView - NSWindowTemplate - - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - - NSApplication - - - - FirstResponder - - - NSApplication - - - 7 - 2 - {{125, 826}, {213, 107}} - 1881669632 - Instant HandBrake - NSWindow - - View - - - {213, 107} - - - 256 - {213, 107} - - {{0, 0}, {1680, 1028}} - {213, 129} - {10000000000000, 10000000000000} - YES - - - Embedded - - - - Instant HandBrake - - 1048576 - 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - submenuAction: - - - Instant HandBrake - - - - About Instant HandBrake - - 2147483647 - - - - - - Check for Update… - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Preferences… - , - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Services - - 1048576 - 2147483647 - - - submenuAction: - - - - Services - - - _NSServicesMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Hide Instant HandBrake - h - 1048576 - 2147483647 - - - - - - Hide Others - h - 1572864 - 2147483647 - - - - - - Show All - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Quit Instant HandBrake - q - 1048576 - 2147483647 - - - - - _NSAppleMenu - - - - - File - - 1048576 - 2147483647 - - - submenuAction: - - - - File - - - - - New - n - 1048576 - 2147483647 - - - - - - Open… - o - 1048576 - 2147483647 - - - - - - Open Recent - - 1048576 - 2147483647 - - - submenuAction: - - - - Open Recent - - - - - Clear Menu - - 1048576 - 2147483647 - - - - - _NSRecentDocumentsMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Close - w - 1048576 - 2147483647 - - - - - - Save - s - 1048576 - 2147483647 - - - - - - Save As… - S - 1048576 - 2147483647 - - - - - - Revert - - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Page Setup… - P - 1048576 - 2147483647 - - - - - - Print… - p - 1048576 - 2147483647 - - - - - - - - - Edit - - 1048576 - 2147483647 - - - submenuAction: - - - - Edit - - - - - Undo - z - 1048576 - 2147483647 - - - - - - Redo - Z - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Cut - x - 1048576 - 2147483647 - - - - - - Copy - c - 1048576 - 2147483647 - - - - - - Paste - v - 1048576 - 2147483647 - - - - - - Paste and Match Style - V - 1572864 - 2147483647 - - - - - - Delete - - 1048576 - 2147483647 - - - - - - Select All - a - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Find - - 1048576 - 2147483647 - - - submenuAction: - - - - Find - - - - - Find… - f - 1048576 - 2147483647 - - - 1 - - - - Find Next - g - 1048576 - 2147483647 - - - 2 - - - - Find Previous - G - 1048576 - 2147483647 - - - 3 - - - - Use Selection for Find - e - 1048576 - 2147483647 - - - 7 - - - - Jump to Selection - j - 1048576 - 2147483647 - - - - - - - - - Spelling - - 1048576 - 2147483647 - - - submenuAction: - - - Spelling - - - - Spelling… - : - 1048576 - 2147483647 - - - - - - Check Spelling - ; - 1048576 - 2147483647 - - - - - - Check Spelling as You Type - - 1048576 - 2147483647 - - - - - - - - - Speech - - 1048576 - 2147483647 - - - submenuAction: - - - Speech - - - - Start Speaking - - 1048576 - 2147483647 - - - - - - Stop Speaking - - 1048576 - 2147483647 - - - - - - - - - - - - Window - - 1048576 - 2147483647 - - - submenuAction: - - - - Window - - - - - Minimize - m - 1048576 - 2147483647 - - - - - - Zoom - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Bring All to Front - - 1048576 - 2147483647 - - - - - _NSWindowsMenu - - - - - Help - - 1048576 - 2147483647 - - - submenuAction: - - - - Help - - - - - Instant HandBrake Help - ? - 1048576 - 2147483647 - - - - - - - - _NSMainMenu - - - - 256 - - - - 268 - {{17, 185}, {99, 17}} - - YES - - 67108864 - 272629760 - Select a Source - - YES - 13 - 1044 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2NjY3AA - - - - 6 - System - controlTextColor - - 3 - MAA - - - - NO - 1 - - - - 289 - {{295, 12}, {79, 32}} - - YES - - -2080374784 - 134217728 - Open - - - -2038284288 - 1 - - - DQ - 200 - 25 - - NO - - - - 268 - - - - 274 - - - - 256 - {{13, 41}, {135, 57}} - - YES - NO - 2 - 1 - - - -2080374784 - 0 - DVD Drive: - - - 1211912448 - 0 - - NSRadioButton - - - - - - 200 - 25 - - - 67108864 - 0 - DVD Folder / File: - - - 1 - 1211912448 - 0 - - - - 200 - 25 - - - {135, 18} - {4, 21} - 1143472128 - NSActionCell - - 67108864 - 0 - Radio - - 1211912448 - 0 - - 549453824 - {18, 18} - - - - - - TU0AKgAABRgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAMAAAADAAAAAwAAAAAAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAADwRERGLJycnySsrK/A1NTXw -IyMjyRwcHIsJCQk8AAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFRUVdVBQUOCoqKj/ -29vb//n5+f/6+vr/2tra/6qqqv9UVFTgHx8fdQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUZGRl5 -dXV198PDw//8/Pz////////////////////////////U1NT/fHx89yUlJXkAAAAFAAAAAAAAAAAAAAAA -AAAAAxEREUZqamrmtbW1/+3t7f/+/v7//v7+//7+/v/9/f3//f39//39/f/39/f/xMTE/3d3d+YZGRlG -AAAAAwAAAAAAAAAAAAAACkJCQqGtra3/xsbG/+vr6//y8vL/9fX1//X19f/z8/P/9fX1//Ly8v/u7u7/ -0tLS/6+vr/9KSkqhAAAACgAAAAAAAAAAAAAAF3h4eN2/v7//z8/P/93d3f/q6ur/7+/v/+/v7//w8PD/ -7e3t/+3t7f/i4uL/zs7O/8XFxf98fHzdAAAAFwAAAAAAAAADAAAAJKSkpPjOzs7/2dnZ/+Dg4P/i4uL/ -5eXl/+bm5v/n5+f/5eXl/+Li4v/e3t7/2tra/9DQ0P+srKz4AAAAJAAAAAMAAAADAAAALrCwsPrW1tb/ -3t7e/+Tk5P/p6en/6+vr/+zs7P/p6en/6+vr/+fn5//k5OT/4ODg/9nZ2f+zs7P6AAAALgAAAAMAAAAD -AAAALp2dnezg4OD/5eXl/+rq6v/u7u7/8PDw//Dw8P/x8fH/8PDw/+7u7v/q6ur/5ubm/+Hh4f+ZmZns -AAAALgAAAAMAAAADAAAAJG5ubs/l5eX/6enp/+/v7//y8vL/9vb2//r6+v/5+fn/9/f3//b29v/x8fH/ -6+vr/+Tk5P9ra2vPAAAAJAAAAAMAAAAAAAAAFy4uLpPCwsL67Ozs//Pz8//5+fn//v7+//7+/v/+/v7/ -/v7+//v7+//19fX/8PDw/8LCwvosLCyTAAAAFwAAAAAAAAAAAAAACgAAAENfX1/S5OTk/vn5+f/+/v7/ -///////////////////////////8/Pz/5ubm/l9fX9IAAABDAAAACgAAAAAAAAAAAAAAAwAAABcAAABl -YmJi3NLS0v3////////////////////////////////V1dX9ZGRk3AAAAGUAAAAXAAAAAwAAAAAAAAAA -AAAAAAAAAAUAAAAfAAAAZTMzM8KAgIDwv7+//O3t7f/t7e3/v7+//ICAgPAzMzPCAAAAZQAAAB8AAAAF -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAFwAAAEMAAAB3AAAAnwAAALMAAACzAAAAnwAAAHcAAABD -AAAAFwAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAoAAAAXAAAAJAAAAC4AAAAu -AAAAJAAAABcAAAAKAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAwAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgEAAAMAAAABABIAAAEB -AAMAAAABABIAAAECAAMAAAAEAAAFxgEDAAMAAAABAAEAAAEGAAMAAAABAAIAAAERAAQAAAABAAAACAES -AAMAAAABAAEAAAEVAAMAAAABAAQAAAEWAAMAAAABABIAAAEXAAQAAAABAAAFEAEcAAMAAAABAAEAAAFS -AAMAAAABAAEAAAFTAAMAAAAEAAAFzodzAAcAAAxIAAAF1gAAAAAACAAIAAgACAABAAEAAQABAAAMSExp -bm8CEAAAbW50clJHQiBYWVogB84AAgAJAAYAMQAAYWNzcE1TRlQAAAAASUVDIHNSR0IAAAAAAAAAAAAA -AAAAAPbWAAEAAAAA0y1IUCAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAARY3BydAAAAVAAAAAzZGVzYwAAAYQAAABsd3RwdAAAAfAAAAAUYmtwdAAAAgQAAAAUclhZWgAA -AhgAAAAUZ1hZWgAAAiwAAAAUYlhZWgAAAkAAAAAUZG1uZAAAAlQAAABwZG1kZAAAAsQAAACIdnVlZAAA -A0wAAACGdmlldwAAA9QAAAAkbHVtaQAAA/gAAAAUbWVhcwAABAwAAAAkdGVjaAAABDAAAAAMclRSQwAA -BDwAAAgMZ1RSQwAABDwAAAgMYlRSQwAABDwAAAgMdGV4dAAAAABDb3B5cmlnaHQgKGMpIDE5OTggSGV3 -bGV0dC1QYWNrYXJkIENvbXBhbnkAAGRlc2MAAAAAAAAAEnNSR0IgSUVDNjE5NjYtMi4xAAAAAAAAAAAA -AAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAFhZWiAAAAAAAADzUQABAAAAARbMWFlaIAAAAAAAAAAAAAAAAAAAAABYWVogAAAAAAAA -b6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9kZXNjAAAAAAAA -ABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAAAAAAAAAAABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAA -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZGVzYwAAAAAAAAAuSUVDIDYx -OTY2LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3BhY2UgLSBzUkdCAAAAAAAAAAAAAAAuSUVDIDYxOTY2 -LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3BhY2UgLSBzUkdCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRl -c2MAAAAAAAAALFJlZmVyZW5jZSBWaWV3aW5nIENvbmRpdGlvbiBpbiBJRUM2MTk2Ni0yLjEAAAAAAAAA -AAAAACxSZWZlcmVuY2UgVmlld2luZyBDb25kaXRpb24gaW4gSUVDNjE5NjYtMi4xAAAAAAAAAAAAAAAA -AAAAAAAAAAAAAAAAAAB2aWV3AAAAAAATpP4AFF8uABDPFAAD7cwABBMLAANcngAAAAFYWVogAAAAAABM -CVYAUAAAAFcf521lYXMAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAKPAAAAAnNpZyAAAAAAQ1JUIGN1 -cnYAAAAAAAAEAAAAAAUACgAPABQAGQAeACMAKAAtADIANwA7AEAARQBKAE8AVABZAF4AYwBoAG0AcgB3 -AHwAgQCGAIsAkACVAJoAnwCkAKkArgCyALcAvADBAMYAywDQANUA2wDgAOUA6wDwAPYA+wEBAQcBDQET -ARkBHwElASsBMgE4AT4BRQFMAVIBWQFgAWcBbgF1AXwBgwGLAZIBmgGhAakBsQG5AcEByQHRAdkB4QHp -AfIB+gIDAgwCFAIdAiYCLwI4AkECSwJUAl0CZwJxAnoChAKOApgCogKsArYCwQLLAtUC4ALrAvUDAAML -AxYDIQMtAzgDQwNPA1oDZgNyA34DigOWA6IDrgO6A8cD0wPgA+wD+QQGBBMEIAQtBDsESARVBGMEcQR+ -BIwEmgSoBLYExATTBOEE8AT+BQ0FHAUrBToFSQVYBWcFdwWGBZYFpgW1BcUF1QXlBfYGBgYWBicGNwZI -BlkGagZ7BowGnQavBsAG0QbjBvUHBwcZBysHPQdPB2EHdAeGB5kHrAe/B9IH5Qf4CAsIHwgyCEYIWghu -CIIIlgiqCL4I0gjnCPsJEAklCToJTwlkCXkJjwmkCboJzwnlCfsKEQonCj0KVApqCoEKmAquCsUK3Arz -CwsLIgs5C1ELaQuAC5gLsAvIC+EL+QwSDCoMQwxcDHUMjgynDMAM2QzzDQ0NJg1ADVoNdA2ODakNww3e -DfgOEw4uDkkOZA5/DpsOtg7SDu4PCQ8lD0EPXg96D5YPsw/PD+wQCRAmEEMQYRB+EJsQuRDXEPURExEx -EU8RbRGMEaoRyRHoEgcSJhJFEmQShBKjEsMS4xMDEyMTQxNjE4MTpBPFE+UUBhQnFEkUahSLFK0UzhTw -FRIVNBVWFXgVmxW9FeAWAxYmFkkWbBaPFrIW1hb6Fx0XQRdlF4kXrhfSF/cYGxhAGGUYihivGNUY+hkg -GUUZaxmRGbcZ3RoEGioaURp3Gp4axRrsGxQbOxtjG4obshvaHAIcKhxSHHscoxzMHPUdHh1HHXAdmR3D -HeweFh5AHmoelB6+HukfEx8+H2kflB+/H+ogFSBBIGwgmCDEIPAhHCFIIXUhoSHOIfsiJyJVIoIiryLd -IwojOCNmI5QjwiPwJB8kTSR8JKsk2iUJJTglaCWXJccl9yYnJlcmhya3JugnGCdJJ3onqyfcKA0oPyhx -KKIo1CkGKTgpaymdKdAqAio1KmgqmyrPKwIrNitpK50r0SwFLDksbiyiLNctDC1BLXYtqy3hLhYuTC6C -Lrcu7i8kL1ovkS/HL/4wNTBsMKQw2zESMUoxgjG6MfIyKjJjMpsy1DMNM0YzfzO4M/E0KzRlNJ402DUT -NU01hzXCNf02NzZyNq426TckN2A3nDfXOBQ4UDiMOMg5BTlCOX85vDn5OjY6dDqyOu87LTtrO6o76Dwn -PGU8pDzjPSI9YT2hPeA+ID5gPqA+4D8hP2E/oj/iQCNAZECmQOdBKUFqQaxB7kIwQnJCtUL3QzpDfUPA -RANER0SKRM5FEkVVRZpF3kYiRmdGq0bwRzVHe0fASAVIS0iRSNdJHUljSalJ8Eo3Sn1KxEsMS1NLmkvi -TCpMcky6TQJNSk2TTdxOJU5uTrdPAE9JT5NP3VAnUHFQu1EGUVBRm1HmUjFSfFLHUxNTX1OqU/ZUQlSP -VNtVKFV1VcJWD1ZcVqlW91dEV5JX4FgvWH1Yy1kaWWlZuFoHWlZaplr1W0VblVvlXDVchlzWXSddeF3J -XhpebF69Xw9fYV+zYAVgV2CqYPxhT2GiYfViSWKcYvBjQ2OXY+tkQGSUZOllPWWSZedmPWaSZuhnPWeT -Z+loP2iWaOxpQ2maafFqSGqfavdrT2una/9sV2yvbQhtYG25bhJua27Ebx5veG/RcCtwhnDgcTpxlXHw -cktypnMBc11zuHQUdHB0zHUodYV14XY+dpt2+HdWd7N4EXhueMx5KnmJeed6RnqlewR7Y3vCfCF8gXzh -fUF9oX4BfmJ+wn8jf4R/5YBHgKiBCoFrgc2CMIKSgvSDV4O6hB2EgITjhUeFq4YOhnKG14c7h5+IBIhp -iM6JM4mZif6KZIrKizCLlov8jGOMyo0xjZiN/45mjs6PNo+ekAaQbpDWkT+RqJIRknqS45NNk7aUIJSK -lPSVX5XJljSWn5cKl3WX4JhMmLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFH -obaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6h -rxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8Ibyb -vRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2 -y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp2 -2vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb -6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn -+3f8B/yY/Sn9uv5L/tz/bf//A - - - - - - 3 - MCAwAA - - - - 400 - 75 - - - - - 3 - MQA - - - - - - 256 - {{153, 75}, {181, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - - Item1 - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - - Item2 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - Item3 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 3 - YES - YES - 1 - - NO - - - - 256 - {{156, 40}, {175, 22}} - - YES - - -1804599231 - 272630784 - - - - YES - - 6 - System - textBackgroundColor - - - - 6 - System - textColor - - - - NO - 1 - - - - 256 - {{256, 8}, {80, 28}} - - YES - - 67108864 - 134348800 - Browse… - - YES - 11 - 3100 - - - -2038284288 - 1 - - LucidaGrande - 11 - 16 - - - - - - 200 - 25 - - NO - - - {{1, 1}, {346, 115}} - - - - {{20, 60}, {348, 117}} - - {0, 0} - - 67108864 - 0 - Box - - - - 6 - System - labelColor - - - - - 1 - 3 - 0 - NO - - - - -2147482356 - {{18, -29}, {352, 20}} - - 16396 - 100 - - - - 268 - {{17, 20}, {279, 17}} - - YES - - 67108864 - 272629760 - - - - - - - NO - 1 - - - {388, 212} - - NSView - - NSResponder - - - - 256 - - - - 256 - {{17, 393}, {139, 17}} - - YES - - 67108864 - 272629760 - Select DVD Features - - - - - - NO - 1 - - - - 1280 - {{18, 16}, {352, 20}} - - 16396 - 100 - - - - 256 - {{17, 273}, {59, 17}} - - YES - - 67108864 - 272629760 - Settings - - - - - - NO - 1 - - - - 256 - - - - 274 - - - - 256 - {{166, 41}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - - … - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - - 3 - YES - YES - 1 - - NO - - - - 256 - {{58, 47}, {106, 17}} - - YES - - 67108864 - 71303168 - Preferred audio: - - - - - - NO - 1 - - - - 256 - {{87, 137}, {77, 17}} - - YES - - 67108864 - 71303168 - File format: - - - - - - NO - 1 - - - - 256 - {{166, 131}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - YES - - - OtherViews - - - - -1 - 3 - YES - YES - 1 - - NO - - - - 256 - {{14, 167}, {150, 17}} - - YES - - 67108864 - 71303168 - Save converted files to: - - - - - - NO - 1 - - - - 256 - {{166, 161}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - - … - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - - YES - YES - - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - Other… - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 3 - YES - YES - 1 - - NO - - - - 256 - {{166, 11}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - - … - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - - 3 - YES - YES - 1 - - NO - - - - 256 - {{36, 17}, {128, 17}} - - YES - - 67108864 - 71303168 - Preferred subtitles: - - - - - - NO - 1 - - - - 256 - {{66, 107}, {98, 17}} - - YES - - 67108864 - 71303168 - Picture Aspect: - - - - - - NO - 1 - - - - 256 - {{166, 101}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - - - - - 400 - 75 - - - Original - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - - 4 by 3 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 16 by 9 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - Anamorphic - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 3 - YES - YES - 1 - - NO - - - - 256 - {{166, 71}, {166, 26}} - - YES - - -2076180416 - 2048 - - - 109199360 - 1 - - LucidaGrande - 13 - 16 - - - - - - 400 - 75 - - - 640 - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - - - YES - - - OtherViews - - - - - Original - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - - 480 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 320 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - 1 - 3 - YES - YES - 1 - - NO - - - - 256 - {{42, 77}, {122, 17}} - - YES - - 67108864 - 71303168 - Max Picture Width: - - - - - - NO - 1 - - - {{1, 1}, {346, 200}} - - - - {{20, 69}, {348, 202}} - - {0, 0} - - 67108864 - 0 - Box - - - - - - 1 - 3 - 0 - NO - - - - 256 - {{17, 44}, {354, 17}} - - YES - - 67108864 - 272629760 - Ready - - - - - - NO - 1 - - - - 256 - - - - 274 - - - - 256 - - - - 2322 - - - - 256 - {347, 77} - - YES - NO - YES - - - 256 - {347, 17} - - - - - - -2147483392 - {{-26, 0}, {16, 17}} - - - - Check - 23 - 10 - 1000 - - 75497536 - 2048 - - - - 6 - System - headerColor - - - - 6 - System - headerTextColor - - - - - 337641536 - 2048 - Text Cell - - - - 6 - System - controlBackgroundColor - - - - - 3 - YES - YES - - - - Title - 63.993650000000002 - 41.993650000000002 - 1000 - - 75497536 - 2048 - Title - - - 3 - MC4zMzMzMzI5OQA - - - - - 337641536 - 2048 - Text Cell - - - - - - 3 - YES - YES - - - - Duration - 133.65819999999999 - 67.658199999999994 - 1000 - - 75497536 - 2048 - Duration - - - - - - 337641536 - 2048 - Text Cell - - - - - - 3 - YES - YES - - - - Size - 113.85599999999999 - 90 - 1000 - - 75497536 - 2048 - Size (Converted) - - - - - - 337641536 - 2048 - Text Cell - - - - - - 3 - YES - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 17 - 316669952 - - - 4 - 15 - 0 - YES - 0 - 1 - - - {{1, 17}, {346, 77}} - - - - - 4 - YES - - - - -2147483392 - {{332, 17}, {15, 77}} - - NO - _doScroller: - - - _doScroller: - 0.40526319999999999 - - - - -2147483392 - {{-100, -100}, {379, 15}} - - YES - NO - _doScroller: - - 1 - - _doScroller: - 0.93580249999999998 - - - - 2338 - - - - {{1, 0}, {346, 17}} - - - - YES - - - {{-1, -1}, {348, 95}} - - - 133778 - - - - - AAAAAAAAAABBmAAAQZgAAA - 0.25 - 4 - 1 - - - {{1, 1}, {346, 93}} - - - - {{20, 295}, {348, 95}} - - {0, 0} - - 67108864 - 0 - Box - - - - - - 1 - 3 - 0 - NO - - - {388, 420} - - NSView - - NSResponder - - - ExpressController - - - - 256 - {135, 65} - NSView - NSResponder - - - - - - - terminate: - - - - 139 - - - - orderFrontStandardAboutPanel: - - - - 142 - - - - hideOtherApplications: - - - - 146 - - - - hide: - - - - 152 - - - - unhideAllApplications: - - - - 153 - - - - delegate - - - - 291 - - - - performMiniaturize: - - - - 37 - - - - arrangeInFront: - - - - 39 - - - - print: - - - - 86 - - - - runPageLayout: - - - - 87 - - - - showHelp: - - - - 122 - - - - clearRecentDocuments: - - - - 127 - - - - performClose: - - - - 193 - - - - toggleContinuousSpellChecking: - - - - 222 - - - - undo: - - - - 223 - - - - copy: - - - - 224 - - - - checkSpelling: - - - - 225 - - - - paste: - - - - 226 - - - - stopSpeaking: - - - - 227 - - - - cut: - - - - 228 - - - - showGuessPanel: - - - - 230 - - - - redo: - - - - 231 - - - - selectAll: - - - - 232 - - - - startSpeaking: - - - - 233 - - - - delete: - - - - 235 - - - - performZoom: - - - - 240 - - - - performFindPanelAction: - - - - 241 - - - - performFindPanelAction: - - - - 242 - - - - performFindPanelAction: - - - - 243 - - - - performFindPanelAction: - - - - 244 - - - - centerSelectionInVisibleArea: - - - - 245 - - - - pasteAsPlainText: - - - - 247 - - - - fOpenView - - - - 292 - - - - fConvertView - - - - 293 - - - - fWindow - - - - 294 - - - - fEmptyView - - - - 304 - - - - openGo: - - - - 320 - - - - fOpenGoButton - - - - 323 - - - - fConvertIndicator - - - - 331 - - - - openBrowse: - - - - 358 - - - - openMatrixChanged: - - - - 359 - - - - fOpenBrowseButton - - - - 360 - - - - fOpenFolderField - - - - 361 - - - - fOpenIndicator - - - - 362 - - - - fOpenMatrix - - - - 363 - - - - fOpenPopUp - - - - 364 - - - - fConvertTableView - - - - 405 - - - - fConvertFolderPopUp - - - - 406 - - - - fOpenProgressField - - - - 409 - - - - fConvertAspectPopUp - - - - 412 - - - - fConvertFormatPopUp - - - - 413 - - - - fConvertAudioPopUp - - - - 415 - - - - fConvertSubtitlePopUp - - - - 416 - - - - fConvertMaxWidthPopUp - - - - 425 - - - - fConvertInfoString - - - - 427 - - - - selectFolderSheetShow: - - - - 465 - - - - dataSource - - - - 407 - - - - delegate - - - - 408 - - - - - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 21 - - - - - - Window - - - 2 - - - - - 29 - - - - - - - - - - MainMenu - - - 19 - - - - - - - - 24 - - - - - - - - - - - 5 - - - - - 23 - - - - - 92 - - - - - 239 - - - - - 56 - - - - - - - - 57 - - - - - - - - - - - - - - - - - - - 58 - - - - - 129 - - - - - 131 - - - - - - - - 130 - - - - - 134 - - - - - 136 - - - - - 143 - - - - - 144 - - - - - 145 - - - - - 149 - - - - - 150 - - - - - 236 - - - - - 83 - - - - - - - - 81 - - - - - - - - - - - - - - - - - - 72 - - - - - 73 - - - - - 74 - - - - - 75 - - - - - 77 - - - - - 78 - - - - - 79 - - - - - 80 - - - - - 82 - - - - - 112 - - - - - 124 - - - - - - - - 125 - - - - - - - - 126 - - - - - 103 - - - - - - - - 106 - - - - - - - - 111 - - - - - 217 - - - - - - - - 205 - - - - - - - - - - - - - - - - - - - - 197 - - - - - 198 - - - - - 199 - - - - - 202 - - - - - 203 - - - - - 206 - - - - - 207 - - - - - 211 - - - - - - - - 212 - - - - - - - - - 195 - - - - - 196 - - - - - 214 - - - - - 215 - - - - - 216 - - - - - - - - 200 - - - - - - - - - - 201 - - - - - 204 - - - - - 219 - - - - - 218 - - - - - - - - 220 - - - - - - - - - - - - 208 - - - - - 209 - - - - - 210 - - - - - 213 - - - - - 221 - - - - - 246 - - - - - 248 - - - - - - - - - - OpenView - - - 249 - - - - - - - - 297 - - - - - - - - 333 - - - - - - - - - - - 356 - - - - - 396 - - - - - - - - 259 - - - - - - - - - - - ConvertView - - - 260 - - - - - - - - 289 - - - - - 365 - - - - - - - - 366 - - - - - - - - - - - - - - - - - - - 397 - - - - - - - - 398 - - - - - - - - 290 - - - ExpressController - - - 303 - - - EmptyView - - - 429 - - - - - 430 - - - - - 434 - - - - - 435 - - - - - 436 - - - - - 449 - - - - - 345 - - - - - - - - - - 450 - - - - - 347 - - - - - 346 - - - - - 348 - - - - - - - - 431 - - - - - - - - 349 - - - - - - - - - - 350 - - - - - 351 - - - - - 352 - - - - - 353 - - - - - - - - 432 - - - - - 354 - - - - - - - - 433 - - - - - 372 - - - - - - - - 437 - - - - - - - - 373 - - - - - - - - 374 - - - - - 375 - - - - - - - - 438 - - - - - 376 - - - - - - - - 439 - - - - - 377 - - - - - - - - 440 - - - - - - - - 378 - - - - - - 381 - - - - - - - - 441 - - - - - 382 - - - - - - - - 442 - - - - - - - - 383 - - - - - - - - - - 384 - - - - - 385 - - - - - 386 - - - - - 387 - - - - - - - - 443 - - - - - - - - 388 - - - - - - - - 389 - - - - - 390 - - - - - - - - 444 - - - - - 391 - - - - - - - - 445 - - - - - 392 - - - - - - - - 446 - - - - - - - - 393 - - - - - - - - - - - 394 - - - - - 395 - - - - - 419 - - - - - - - - 447 - - - - - - - - 420 - - - - - - - - - - - 422 - - - - - 423 - - - - - 424 - - - - - - - - 448 - - - - - 400 - - - - - - - - - - - 457 - - - - - 456 - - - - - 455 - - - - - 401 - - - - - - - - - - - 410 - - - - - - - - 404 - - - - - - - - 403 - - - - - - - - 402 - - - - - - - - 451 - - - - - 452 - - - - - 453 - - - - - 454 - - - - - 466 - - - - - 467 - - - - - 468 - - - - - 469 - - - - - 470 - - - - - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{505, 676}, {213, 107}} - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - WhiteBox - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - WhiteBox - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - - - 470 - - - 0 - IBCocoaFramework - NO - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - {12, 12} - {10, 2} - - - diff --git a/macosx/InstantHandBrake/English.lproj/InfoPlist.strings b/macosx/InstantHandBrake/English.lproj/InfoPlist.strings deleted file mode 100644 index a0c2c5513..000000000 --- a/macosx/InstantHandBrake/English.lproj/InfoPlist.strings +++ /dev/null @@ -1,4 +0,0 @@ -/* Localized versions of Info.plist keys */ - -CFBundleName = "Instant HandBrake"; -NSHumanReadableCopyright = "Copyright © 2004 - 2008, HandBrake Devs"; diff --git a/macosx/InstantHandBrake/Express.plist b/macosx/InstantHandBrake/Express.plist deleted file mode 100644 index 15fb48a72..000000000 --- a/macosx/InstantHandBrake/Express.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - BuildDate - BUILDDATE - CFBundleDevelopmentRegion - English - CFBundleDocumentTypes - - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - HandBrake - CFBundleIdentifier - fr.handbrake.instant - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0a3 - CFBundleSignature - ???? - CFBundleVersion - BUILDID - LSMinimumSystemVersion - 10.4.0 - NSMainNibFile - Express - NSPrincipalClass - NSApplication - - diff --git a/macosx/InstantHandBrake/ExpressController.h b/macosx/InstantHandBrake/ExpressController.h deleted file mode 100644 index 4bdcfa6d4..000000000 --- a/macosx/InstantHandBrake/ExpressController.h +++ /dev/null @@ -1,65 +0,0 @@ -/* ExpressController - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#import -#import - -#import "DriveDetector.h" -#import "DeviceController.h" -#import "HBCore.h" -#import "hb.h" - -@interface ExpressController : NSObject - -{ - hb_handle_t * fHandle; - hb_list_t * fList; - const hb_state_t * fState; - - IBOutlet NSWindow * fWindow; - IBOutlet NSView * fEmptyView; - IBOutlet NSToolbar * fToolbar; - - IBOutlet NSView * fOpenView; - IBOutlet NSMatrix * fOpenMatrix; - IBOutlet NSPopUpButton * fOpenPopUp; - IBOutlet NSTextField * fOpenFolderField; - IBOutlet NSButton * fOpenBrowseButton; - IBOutlet NSTextField * fOpenProgressField; - IBOutlet NSProgressIndicator * fOpenIndicator; - IBOutlet NSButton * fOpenGoButton; - NSString * fOpenFolderString; - - IBOutlet NSView * fConvertView; - IBOutlet NSTableView * fConvertTableView; - IBOutlet NSPopUpButton * fConvertFolderPopUp; - IBOutlet NSPopUpButton * fConvertFormatPopUp; - IBOutlet NSPopUpButton * fConvertMaxWidthPopUp; - IBOutlet NSPopUpButton * fConvertAspectPopUp; - IBOutlet NSPopUpButton * fConvertAudioPopUp; - IBOutlet NSPopUpButton * fConvertSubtitlePopUp; - IBOutlet NSTextField * fConvertInfoString; - IBOutlet NSProgressIndicator * fConvertIndicator; - NSMutableArray * fConvertCheckArray; - NSString * fConvertFolderString; - - DriveDetector * fDriveDetector; - HBCore * fCore; - DeviceController * fDevice; - NSDictionary * fDrives; -} - -- (void) openShow: (id) sender; -- (void) openMatrixChanged: (id) sender; -- (void) openBrowse: (id) sender; -- (void) openGo: (id) sender; - -- (void) selectFolderSheetShow: (id) sender; -- (void) convertGo: (id) sender; -- (void) convertCancel: (id) sender; - -@end - diff --git a/macosx/InstantHandBrake/ExpressController.m b/macosx/InstantHandBrake/ExpressController.m deleted file mode 100644 index 912df1ffa..000000000 --- a/macosx/InstantHandBrake/ExpressController.m +++ /dev/null @@ -1,808 +0,0 @@ -/* This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#import "ExpressController.h" - -#define INSERT_STRING @"Insert a DVD" -#define TOOLBAR_START @"TOOLBAR_START" -#define TOOLBAR_PAUSE @"TOOLBAR_PAUSE" -#define TOOLBAR_OPEN @"TOOLBAR_OPEN" -#define TOOLBAR_ADVANCED @"TOOLBAR_ADVANCED" - -#define p fState->param - -#import "Device.h" - -@interface ExpressController (Private) - -- (void) openUpdateDrives: (NSDictionary *) drives; -- (void) openBrowseDidEnd: (NSOpenPanel *) sheet returnCode: (int) - returnCode contextInfo: (void *) contextInfo; -- (void) openEnable: (BOOL) b; - -- (id) updatePopUpIcon: (id) value; -- (void) convertShow; -- (void) convertEnable: (BOOL) b; - -@end - -@implementation ExpressController - -/*********************************************************************** - * Application delegate methods - **********************************************************************/ -- (void) awakeFromNib -{ - NSEnumerator * enumerator; - - /* NSToolbar initializations */ - fToolbar = [[NSToolbar alloc] initWithIdentifier: @"InstantHandBrake Toolbar"]; - [fToolbar setDelegate: self]; - [fToolbar setAllowsUserCustomization: NO]; - [fToolbar setDisplayMode: NSToolbarDisplayModeIconAndLabel]; - [fToolbar setVisible:NO]; - [fWindow setShowsToolbarButton:NO]; - [fWindow setToolbar: fToolbar]; - - /* Show the "Open DVD" interface */ - fDriveDetector = [[DriveDetector alloc] initWithCallback: self - selector: @selector( openUpdateDrives: )]; - [fDriveDetector run]; - [self openEnable: YES]; - [fWindow setContentSize: [fOpenView frame].size]; - [fWindow setContentView: fOpenView]; - [fWindow center]; - [fWindow makeKeyAndOrderFront: nil]; - - /* NSTableView initializations */ - NSButtonCell * buttonCell; - NSTableColumn * tableColumn; - enumerator = [[fConvertTableView tableColumns] objectEnumerator]; - while( ( tableColumn = [enumerator nextObject] ) ) - { - [tableColumn setEditable: NO]; - } - tableColumn = [fConvertTableView tableColumnWithIdentifier: @"Check"]; - buttonCell = [[[NSButtonCell alloc] initTextCell: @""] autorelease]; - [buttonCell setEditable: YES]; - [buttonCell setButtonType: NSSwitchButton]; - [tableColumn setDataCell: buttonCell]; - - /* Preferences */ - fConvertFolderString = [NSHomeDirectory() stringByAppendingPathComponent:@"Desktop"]; - [fConvertFolderString retain]; -} - -- (void) applicationWillFinishLaunching: (NSNotification *) n -{ - fCore = [[HBCore alloc] init]; - [fCore openInDebugMode:NO checkForUpdates:NO]; - fHandle = [fCore hb_handle]; - fState = [fCore hb_state]; - fList = hb_get_titles( fHandle ); - - fDevice = [[DeviceController alloc] init]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(scanningSource:) - name:@"HBCoreScanningNotification" object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(scanDone:) - name:@"HBCoreScanDoneNotification" object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(muxing:) - name:@"HBCoreMuxingNotification" object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(working:) - name:@"HBCoreWorkingNotification" object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(workDone:) - name:@"HBCoreWorkDoneNotification" object:nil]; - - [GrowlApplicationBridge setGrowlDelegate: self]; -} - -- (void) applicationWillTerminate: (NSNotification *) n -{ - [fCore close]; -} - -- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag -{ - if( !flag ) { - [fWindow makeKeyAndOrderFront:nil]; - return YES; - } - return NO; -} - -- (NSToolbarItem *) toolbar: (NSToolbar *) toolbar itemForItemIdentifier: (NSString *) ident - willBeInsertedIntoToolbar: (BOOL) flag -{ - NSToolbarItem * item; - item = [[NSToolbarItem alloc] initWithItemIdentifier: ident]; - - if ([ident isEqualToString: TOOLBAR_START]) - { - [item setLabel: NSLocalizedString(@"Convert", "Convert")]; - [item setPaletteLabel: NSLocalizedString(@"Convert/Cancel", @"Convert/Cancel")]; - [item setImage: [NSImage imageNamed: @"Play"]]; - [item setTarget: self]; - [item setAction: @selector(convertGo:)]; - } - else if ([ident isEqualToString: TOOLBAR_PAUSE]) - { - [item setLabel: NSLocalizedString(@"Pause", "Pause")]; - [item setPaletteLabel: NSLocalizedString(@"Pause/Resume", @"Pause/Resume")]; - [item setImage: [NSImage imageNamed: @"Pause"]]; - [item setTarget: self]; - [item setAction: @selector(pauseGo:)]; - } - else if ([ident isEqualToString: TOOLBAR_OPEN]) - { - [item setLabel: NSLocalizedString(@"Open...", "Open...")]; - [item setPaletteLabel: NSLocalizedString(@"Open Another Source", "Open Another Source")]; - [item setImage: [NSImage imageNamed: @"Open"]]; - [item setTarget: self]; - [item setAction: @selector(openShow:)]; - } - else - { - [item release]; - return nil; - } - - return item; -} - -- (NSArray *) toolbarDefaultItemIdentifiers: (NSToolbar *) toolbar -{ - return [NSArray arrayWithObjects: TOOLBAR_START, TOOLBAR_PAUSE, - NSToolbarFlexibleSpaceItemIdentifier, TOOLBAR_OPEN, nil]; -} - -- (NSArray *) toolbarAllowedItemIdentifiers: (NSToolbar *) toolbar -{ - return [NSArray arrayWithObjects: TOOLBAR_START, TOOLBAR_PAUSE, - TOOLBAR_OPEN, NSToolbarFlexibleSpaceItemIdentifier, nil]; -} - -/*********************************************************************** - * Tableview datasource methods - **********************************************************************/ -- (int) numberOfRowsInTableView: (NSTableView *) t -{ - if( !fHandle ) - return 0; - - return hb_list_count( fList ); -} - -- (id) tableView:(NSTableView *) t objectValueForTableColumn: - (NSTableColumn *) col row: (int) row -{ - if( [[col identifier] isEqualToString: @"Check"] ) - { - return [fConvertCheckArray objectAtIndex: row]; - } - else - { - hb_title_t * title = hb_list_item( fList, row ); - if( [[col identifier] isEqualToString: @"Title"] ) - { - return [@"Title " stringByAppendingFormat: @"%d", - title->index]; - } - else if( [[col identifier] isEqualToString: @"Duration"] ) - { - if( title->hours > 0 ) - { - return [NSString stringWithFormat: - @"%d hour%s %d min%s", title->hours, - title->hours > 1 ? "s" : "", title->minutes, - title->minutes > 1 ? "s": ""]; - } - else if( title->minutes > 0 ) - { - return [NSString stringWithFormat: - @"%d min%s %d sec%s", title->minutes, - title->minutes > 1 ? "s" : "", title->seconds, - title->seconds > 1 ? "s": ""]; - } - else - { - return [NSString stringWithFormat: @"%d seconds", - title->seconds]; - } - } - else if( [[col identifier] isEqualToString: @"Size"] ) - { - return [NSString stringWithFormat:@"-"]; - } - } - return nil; -} - -- (void) tableView: (NSTableView *) t setObjectValue: (id) object - forTableColumn: (NSTableColumn *) col row: (int) row -{ - if( [[col identifier] isEqualToString: @"Check"] ) - { - [fConvertCheckArray replaceObjectAtIndex: row withObject: object]; - } -} - -/*********************************************************************** - * User events methods - **********************************************************************/ -- (void) openShow: (id) sender -{ - NSRect frame = [fWindow frame]; - float offset = ( [fConvertView frame].size.height - - [fOpenView frame].size.height ) * [fWindow userSpaceScaleFactor]; - - frame.origin.y += offset; - frame.size.height -= offset; - [fWindow setContentView: fEmptyView]; - [fWindow setFrame: frame display: YES animate: YES]; - [fToolbar setVisible:NO]; - [fOpenProgressField setStringValue: @""]; - [fWindow setContentView: fOpenView]; - - [fDriveDetector run]; -} - -- (void) openMatrixChanged: (id) sender -{ - [self openEnable: YES]; - if( [fOpenMatrix selectedRow] ) - { - [self openBrowse: self]; - } -} - -- (void) openBrowse: (id) sender -{ - NSOpenPanel * panel = [NSOpenPanel openPanel]; - [panel setAllowsMultipleSelection: NO]; - [panel setCanChooseFiles: YES]; - [panel setCanChooseDirectories: YES ]; - [panel beginSheetForDirectory: nil file: nil types: nil - modalForWindow: fWindow modalDelegate: self - didEndSelector: @selector( openBrowseDidEnd:returnCode:contextInfo: ) - contextInfo: nil]; -} - -- (void) openGo: (id) sender -{ - [self openEnable: NO]; - [fOpenIndicator setIndeterminate: YES]; - [fOpenIndicator startAnimation: nil]; - [fOpenProgressField setStringValue: NSLocalizedString( @"Opening...", @"Opening...") ]; - [fDriveDetector stop]; - - if( [fOpenMatrix selectedRow] ) - { - hb_scan( fHandle, [fOpenFolderString UTF8String], 0 ); - } - else - { - hb_scan( fHandle, [[fDrives objectForKey: [fOpenPopUp - titleOfSelectedItem]] UTF8String], 0 ); - } -} - -- (void) selectFolderSheetShow: (id) sender -{ - NSOpenPanel * panel = [NSOpenPanel openPanel]; - - [panel setPrompt: NSLocalizedString(@"Select", @"Convert -> Save panel prompt")]; - [panel setAllowsMultipleSelection: NO]; - [panel setCanChooseFiles: NO]; - [panel setCanChooseDirectories: YES]; - [panel setCanCreateDirectories: YES]; - - [panel beginSheetForDirectory: nil file: nil types: nil - modalForWindow: fWindow modalDelegate: self didEndSelector: - @selector(selectFolderSheetClosed:returnCode:contextInfo:) contextInfo: nil]; -} - -- (void) selectFolderSheetClosed: (NSOpenPanel *) sheet returnCode: (int) - returnCode contextInfo: (void *) contextInfo -{ - if( returnCode != NSOKButton ) - return; - - if( fConvertFolderString ) - [fConvertFolderString release]; - fConvertFolderString = [[[sheet filenames] objectAtIndex: 0] retain]; - [[fConvertFolderPopUp itemAtIndex: 0] setTitle: [fConvertFolderString lastPathComponent]]; - [fConvertFolderPopUp selectItemAtIndex:0]; - - NSMenuItem * item = [fConvertFolderPopUp itemAtIndex: 0]; - [item setImage: [self updatePopUpIcon:fConvertFolderString]]; - -} - -- (void) convertGo: (id) sender -{ - int i, j; - Preset * currentPreset = [[[fDevice devicesList] objectAtIndex:[fConvertFormatPopUp indexOfSelectedItem]] firstPreset]; - - for( i = 0; i < hb_list_count( fList ); i++ ) - { - if( ![[fConvertCheckArray objectAtIndex: i] boolValue] ) - continue; - - hb_title_t * title = hb_list_item( fList, i ); - hb_job_t * job = title->job; - - int maxwidth = [currentPreset maxWidth]; - int maxheight = [currentPreset maxHeight]; - int pixels = maxwidth * maxheight; - int aspect = title->aspect; - - if( [fConvertAspectPopUp indexOfSelectedItem] == 1 ) - { - aspect = 4 * HB_ASPECT_BASE / 3; - } - else if ( [fConvertAspectPopUp indexOfSelectedItem] == 2 ) - { - aspect = 16 * HB_ASPECT_BASE / 9; - } - - job->vbitrate = [currentPreset videoBitRate]; - - if( [fConvertMaxWidthPopUp indexOfSelectedItem] == 2 ) - { - maxwidth = 480; - job->vbitrate /= 1.5; - } - else if ( [fConvertMaxWidthPopUp indexOfSelectedItem] == 3 ) - { - maxwidth = 320; - job->vbitrate /= 2; - } - - if ( [fConvertAspectPopUp indexOfSelectedItem] > 0 ) - { - do - { - hb_set_size( job, aspect, pixels ); - pixels -= 10; - } while(job->width > maxwidth || job->height > maxheight); - } - else - { - /* Reset job->crop values */ - memcpy( job->crop, job->title->crop, 4 * sizeof( int ) ); - job->width = maxwidth; - hb_fix_aspect( job, HB_KEEP_WIDTH ); - } - - job->mux = [currentPreset muxer]; - job->vcodec = [currentPreset videoCodec]; - job->advanced_opts = (char *)calloc(1024, 1); /* Fixme, this just leaks */ - strcpy(job->advanced_opts, [[currentPreset videoCodecOptions] UTF8String]); - job->chapter_markers = 1; - job->vquality = -1.0; - - const char * lang; - - /* Audio selection */ - hb_audio_t * audio; - lang = [[fConvertAudioPopUp titleOfSelectedItem] UTF8String]; - job->audios[0] = -1; - for( j = 0; j < hb_list_count( title->list_audio ); j++ ) - { - /* Choose the first track that matches the language */ - audio = hb_list_item( title->list_audio, j ); - if( !strcmp( lang, audio->lang_simple ) ) - { - job->audios[0] = j; - break; - } - } - if( job->audios[0] == -1 ) - { - /* If the language isn't available in this title, choose - the first track */ - job->audios[0] = 0; - } - job->audios[1] = -1; - - job->audio_mixdowns[0] = HB_AMIXDOWN_DOLBYPLII; - - /* Subtitle selection */ - hb_subtitle_t * subtitle; - lang = [[fConvertSubtitlePopUp titleOfSelectedItem] UTF8String]; - job->subtitle = -1; - for( j = 0; j < hb_list_count( title->list_subtitle ); j++ ) - { - /* Choose the first track that matches the language */ - subtitle = hb_list_item( title->list_subtitle, j ); - if( !strcmp( lang, subtitle->lang ) ) - { - job->subtitle = j; - break; - } - } - - job->file = strdup( [[NSString stringWithFormat: - @"%@/%s - Title %d.m4v", fConvertFolderString, - title->name, title->index] UTF8String] ); - hb_add( fHandle, job ); - } - - hb_start( fHandle ); - - [self convertEnable: NO]; -} - -- (void) convertCancel: (id) sender -{ - hb_stop( fHandle ); - [self convertEnable: YES]; -} - -@end - -/*********************************************************************** - * Private methods - **********************************************************************/ - -@implementation ExpressController (Private) - -- (void) openUpdateDrives: (NSDictionary *) drives -{ - if( fDrives ) - { - [fDrives release]; - } - fDrives = [[NSDictionary alloc] initWithDictionary: drives]; - - NSString * device; - NSEnumerator * enumerator = [fDrives keyEnumerator]; - [fOpenPopUp removeAllItems]; - while( ( device = [enumerator nextObject] ) ) - { - [fOpenPopUp addItemWithTitle: device]; - } - - if( ![fOpenPopUp numberOfItems] ) - { - [fOpenPopUp addItemWithTitle: INSERT_STRING]; - } - [fOpenPopUp selectItemAtIndex: 0]; - if( [fOpenMatrix isEnabled] ) - { - [self openEnable: YES]; - } -} - -- (void) openBrowseDidEnd: (NSOpenPanel *) sheet returnCode: (int) - returnCode contextInfo: (void *) contextInfo -{ - if( returnCode != NSOKButton ) - return; - - if( fOpenFolderString ) - [fOpenFolderString release]; - fOpenFolderString = [[[sheet filenames] objectAtIndex: 0] retain]; - [fOpenFolderField setStringValue: [fOpenFolderString lastPathComponent]]; - [self openGo: self]; -} - -- (BOOL)validateToolbarItem: (NSToolbarItem *) toolbarItem -{ - NSString * ident = [toolbarItem itemIdentifier]; - - if ([ident isEqualToString: TOOLBAR_START] && [HBStateWorking isEqualToString:[fCore state]]) - { - [toolbarItem setAction: @selector(convertCancel:)]; - [toolbarItem setLabel:NSLocalizedString(@"Cancel", @"Cancel")]; - return YES; - } - else if ([ident isEqualToString: TOOLBAR_START] && [HBStateWorkDone isEqualToString:[fCore state]]) - { - [toolbarItem setAction: @selector(convertGo:)]; - [toolbarItem setLabel:NSLocalizedString(@"Convert", @"Convert")]; - return YES; - } - else if ([ident isEqualToString: TOOLBAR_OPEN] && [HBStateWorking isEqualToString:[fCore state]]) - { - return NO; - } - - return YES; -} - -- (void) openEnable: (BOOL) b -{ - [fOpenMatrix setEnabled: b]; - [fOpenPopUp setEnabled: b]; - [fOpenFolderField setEnabled: b]; - [fOpenBrowseButton setEnabled: b]; - [fOpenGoButton setEnabled: b]; - - if( b ) - { - if( [fOpenMatrix selectedRow] ) - { - [fOpenPopUp setEnabled: NO]; - } - else - { - [fOpenFolderField setEnabled: NO]; - [fOpenBrowseButton setEnabled: NO]; - if( [[fOpenPopUp titleOfSelectedItem] - isEqualToString: INSERT_STRING] ) - { - [fOpenGoButton setEnabled: NO]; - } - } - } -} - -- (void) scanningSource: (NSNotification *) n -{ - [fOpenIndicator setIndeterminate: NO]; - [fOpenIndicator setDoubleValue: 100.0 * - ( (float) p.scanning.title_cur - 0.5 ) / p.scanning.title_count]; - [fOpenProgressField setStringValue: [NSString - stringWithFormat: @"Scanning title %d of %d...", - p.scanning.title_cur, p.scanning.title_count]]; -} - -- (void) scanDone: (NSNotification *) n -{ - [fOpenIndicator setIndeterminate: NO]; - [fOpenIndicator setDoubleValue: 0.0]; - - [self openEnable: YES]; - - if( hb_list_count( fList ) ) - { - [self convertShow]; - } - else - { - [fDriveDetector run]; - [fOpenProgressField setStringValue: NSLocalizedString(@"No Title Found...",@"No Title Found...")]; - } -} - -- (void) convertShow -{ - int i, j; - - fConvertCheckArray = [[NSMutableArray alloc] initWithCapacity: - hb_list_count( fList )]; - [fConvertAudioPopUp removeAllItems]; - [fConvertSubtitlePopUp removeAllItems]; - [fConvertSubtitlePopUp addItemWithTitle: @"None"]; - for( i = 0; i < hb_list_count( fList ); i++ ) - { - /* Default is to convert titles longer than 30 minutes. */ - hb_title_t * title = hb_list_item( fList, i ); - [fConvertCheckArray addObject: [NSNumber numberWithBool: - ( 60 * title->hours + title->minutes > 30 )]]; - - /* Update audio popup */ - hb_audio_t * audio; - for( j = 0; j < hb_list_count( title->list_audio ); j++ ) - { - audio = hb_list_item( title->list_audio, j ); - [fConvertAudioPopUp addItemWithTitle: - [NSString stringWithUTF8String: audio->lang_simple]]; - } - [fConvertAudioPopUp selectItemWithTitle: @"English"]; - - if ( [fConvertAudioPopUp selectedItem] == nil ) - [fConvertAudioPopUp selectItemAtIndex:0]; - - /* Update subtitle popup */ - hb_subtitle_t * subtitle; - for( j = 0; j < hb_list_count( title->list_subtitle ); j++ ) - { - subtitle = hb_list_item( title->list_subtitle, j ); - [fConvertSubtitlePopUp addItemWithTitle: - [NSString stringWithUTF8String: subtitle->lang]]; - } - } - [fConvertTableView reloadData]; - - NSEnumerator * enumerator; - Device * device; - enumerator = [[fDevice devicesList] objectEnumerator]; - - while( ( device = [enumerator nextObject] ) ) - [fConvertFormatPopUp addItemWithTitle:[device name]]; - - NSRect frame = [fWindow frame]; - float offset = ( [fConvertView frame].size.height - - [fOpenView frame].size.height ) * [fWindow userSpaceScaleFactor];; - frame.origin.y -= offset; - frame.size.height += offset; - [fWindow setContentView: fEmptyView]; - [fWindow setFrame: frame display: YES animate: YES]; - [fToolbar setVisible:YES]; - [fWindow setContentView: fConvertView]; - - NSMenuItem * item = [fConvertFolderPopUp itemAtIndex: 0]; - [item setTitle: [fConvertFolderString lastPathComponent]]; - [item setImage: [self updatePopUpIcon:fConvertFolderString]]; - - [self convertEnable: YES]; -} - -- (void) convertEnable: (BOOL) b -{ - [fConvertTableView setEnabled: b]; - [fConvertFolderPopUp setEnabled: b]; - [fConvertFormatPopUp setEnabled: b]; - [fConvertAspectPopUp setEnabled: b]; - [fConvertMaxWidthPopUp setEnabled: b]; - [fConvertAudioPopUp setEnabled: b]; - [fConvertSubtitlePopUp setEnabled: b]; -} - -/*********************************************************************** -* UpdateDockIcon -*********************************************************************** -* Shows a progression bar on the dock icon, filled according to -* 'progress' (0.0 <= progress <= 1.0). -* Called with progress < 0.0 or progress > 1.0, restores the original -* icon. -**********************************************************************/ -- (void) UpdateDockIcon: (float) progress -{ - NSImage * icon; - NSData * tiff; - NSBitmapImageRep * bmp; - uint32_t * pen; - uint32_t black = htonl( 0x000000FF ); - uint32_t red = htonl( 0xFF0000FF ); - uint32_t white = htonl( 0xFFFFFFFF ); - int row_start, row_end; - int i, j; - - /* Get application original icon */ - icon = [NSImage imageNamed: @"NSApplicationIcon"]; - - if( progress < 0.0 || progress > 1.0 ) - { - [NSApp setApplicationIconImage: icon]; - return; - } - - /* Get it in a raw bitmap form */ - tiff = [icon TIFFRepresentationUsingCompression: - NSTIFFCompressionNone factor: 1.0]; - bmp = [NSBitmapImageRep imageRepWithData: tiff]; - - /* Draw the progression bar */ - /* It's pretty simple (ugly?) now, but I'm no designer */ - - row_start = 3 * (int) [bmp size].height / 4; - row_end = 7 * (int) [bmp size].height / 8; - - for( i = row_start; i < row_start + 2; i++ ) - { - pen = (uint32_t *) ( [bmp bitmapData] + i * [bmp bytesPerRow] ); - for( j = 0; j < (int) [bmp size].width; j++ ) - { - pen[j] = black; - } - } - for( i = row_start + 2; i < row_end - 2; i++ ) - { - pen = (uint32_t *) ( [bmp bitmapData] + i * [bmp bytesPerRow] ); - pen[0] = black; - pen[1] = black; - for( j = 2; j < (int) [bmp size].width - 2; j++ ) - { - if( j < 2 + (int) ( ( [bmp size].width - 4.0 ) * progress ) ) - { - pen[j] = red; - } - else - { - pen[j] = white; - } - } - pen[j] = black; - pen[j+1] = black; - } - for( i = row_end - 2; i < row_end; i++ ) - { - pen = (uint32_t *) ( [bmp bitmapData] + i * [bmp bytesPerRow] ); - for( j = 0; j < (int) [bmp size].width; j++ ) - { - pen[j] = black; - } - } - - /* Now update the dock icon */ - tiff = [bmp TIFFRepresentationUsingCompression: - NSTIFFCompressionNone factor: 1.0]; - icon = [[NSImage alloc] initWithData: tiff]; - [NSApp setApplicationIconImage: icon]; - [icon release]; -} - -- (id) updatePopUpIcon: (id) value -{ - if (!value) - return nil; - - NSImage * icon; - - icon = [[NSWorkspace sharedWorkspace] iconForFile: value]; - - [icon setScalesWhenResized: YES]; - [icon setSize: NSMakeSize(16.0 , 16.0)]; - - return icon; -} - -- (void) working: (NSNotification *) n -{ - float progress_total = ( p.working.progress + p.working.job_cur - 1 ) / p.working.job_count; - NSMutableString * string = [NSMutableString stringWithFormat: @"Converting: %.1f %%", 100.0 * progress_total]; - - if( p.working.seconds > -1 ) - { - [string appendFormat: @" (%.1f fps, ", p.working.rate_avg]; - if( p.working.hours > 0 ) - { - [string appendFormat: @"%d hour%s %d min%s", - p.working.hours, p.working.hours == 1 ? "" : "s", - p.working.minutes, p.working.minutes == 1 ? "" : "s"]; - } - else if( p.working.minutes > 0 ) - { - [string appendFormat: @"%d min%s %d sec%s", - p.working.minutes, p.working.minutes == 1 ? "" : "s", - p.working.seconds, p.working.seconds == 1 ? "" : "s"]; - } - else - { - [string appendFormat: @"%d second%s", - p.working.seconds, p.working.seconds == 1 ? "" : "s"]; - } - [string appendString: @" left)"]; - } - - [fConvertInfoString setStringValue: string]; - [fConvertIndicator setIndeterminate: NO]; - [fConvertIndicator setDoubleValue: 100.0 * progress_total]; - [self UpdateDockIcon: progress_total]; -} - -- (void) muxing: (NSNotification *) n -{ - [fConvertInfoString setStringValue: NSLocalizedString(@"Muxing...",@"Muxing...")]; - [fConvertIndicator setIndeterminate: YES]; - [fConvertIndicator startAnimation: nil]; - [self UpdateDockIcon: 1.0]; -} - -- (void) workDone: (NSNotification *) n -{ - [fConvertIndicator setIndeterminate: NO]; - [fConvertIndicator setDoubleValue: 0.0]; - [self UpdateDockIcon: -1.0]; - [self convertEnable: YES]; - - [fConvertInfoString setStringValue: NSLocalizedString(@"Done.",@"Done.")]; - - [fCore removeAllJobs]; -} - -@end diff --git a/macosx/InstantHandBrake/HBCore.h b/macosx/InstantHandBrake/HBCore.h deleted file mode 100644 index 477c3d763..000000000 --- a/macosx/InstantHandBrake/HBCore.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @file - * Interface of class HBCore. - */ - -#import - -extern const NSString *HBStateIdle; -extern const NSString *HBStateScanning; -extern const NSString *HBStateScanDone; -extern const NSString *HBStateWorking; -extern const NSString *HBStatePaused; -extern const NSString *HBStateWorkDone; -extern const NSString *HBStateMuxing; -extern const NSString *HBStateAll; - -extern NSString *HBCoreScanningNotification; -extern NSString *HBCoreScanDoneNotification; -extern NSString *HBCoreWorkingNotification; -extern NSString *HBCorePausedNotification; -extern NSString *HBCoreWorkDoneNotification; -extern NSString *HBCoreMuxingNotification; - -/** - * HBCore is an Objective-C interface to the low-level HandBrake library. - * HBCore monitors state changes of libhb and provides notifications via - * NSNotificationCenter to any object who needs them. It can also be used - * to implement properties that can be directly bound to elements of the gui. - */ -@interface HBCore : NSObject -{ - /// Pointer to libhb handle. - struct hb_handle_s *hb_handle; - - /// Pointer to latest state information returned by libhb. - struct hb_state_s *hb_state; - - /// Timer used to poll libhb for state changes. - NSTimer *updateTimer; - - /// Current state of HBCore; one of the HBState* constants. - const NSString *state; -} - -- (id)init; -- (BOOL)openInDebugMode:(BOOL)debugMode checkForUpdates:(BOOL)checkForUpdates; -- (BOOL)close; -- (void)removeAllJobs; -- (NSString *)state; -- (struct hb_handle_s *)hb_handle; -- (const struct hb_state_s *)hb_state; - -@end diff --git a/macosx/InstantHandBrake/HBCore.m b/macosx/InstantHandBrake/HBCore.m deleted file mode 100644 index 3d502b64c..000000000 --- a/macosx/InstantHandBrake/HBCore.m +++ /dev/null @@ -1,282 +0,0 @@ -/** - * @file - * Implementation of class HBCore. - */ - -#import "HBCore.h" -#include "hb.h" - -// These constants specify the current state of HBCore. - -const NSString *HBStateIdle = @"HBStateIdle"; ///< HB is doing nothing (HB_STATE_IDLE) -const NSString *HBStateScanning = @"HBStateScanning"; ///< HB is scanning (HB_STATE_SCANNING) -const NSString *HBStateScanDone = @"HBStateScanDone"; ///< Scanning has been completed (HB_STATE_SCANDONE) -const NSString *HBStateWorking = @"HBStateWorking"; ///< HB is encoding (HB_STATE_WORKING) -const NSString *HBStatePaused = @"HBStatePaused"; ///< Encoding is paused (HB_STATE_PAUSED) -const NSString *HBStateWorkDone = @"HBStateWorkDone"; ///< Encoding has been completed (HB_STATE_WORKDONE) -const NSString *HBStateMuxing = @"HBStateMuxing"; ///< HB is muxing (HB_STATE_MUXING) - - -// These constants specify various status notifications sent by HBCore - -/// Notification sent to update status while scanning. Matches HB_STATE_SCANNING constant in libhb. -NSString *HBCoreScanningNotification = @"HBCoreScanningNotification"; - -/// Notification sent after scanning is complete. Matches HB_STATE_SCANDONE constant in libhb. -NSString *HBCoreScanDoneNotification = @"HBCoreScanDoneNotification"; - -/// Notification sent to update status while encoding. Matches HB_STATE_WORKING constant in libhb. -NSString *HBCoreWorkingNotification = @"HBCoreWorkingNotification"; - -/// Notification sent when encoding is paused. Matches HB_STATE_PAUSED constant in libhb. -NSString *HBCorePausedNotification = @"HBCorePausedNotification"; - -/// Notification sent after encoding is complete. Matches HB_STATE_WORKDONE constant in libhb. -NSString *HBCoreWorkDoneNotification = @"HBCoreWorkDoneNotification"; - -/// Notification sent to update status while muxing. Matches HB_STATE_MUXING constant in libhb. -NSString *HBCoreMuxingNotification = @"HBCoreMuxingNotification"; - -/** - * Private methods of HBCore. - */ -@interface HBCore (Private) -- (NSString *)stateAsString:(int)stateValue; -@end - -@implementation HBCore - -/** - * Initializes HBCore. - */ -- (id)init -{ - if (self = [super init]) - { - state = HBStateIdle; - hb_state = malloc(sizeof(struct hb_state_s)); - } - return self; -} - -/** - * Releases resources. - */ -- (void)dealloc -{ - free(hb_state); - [super dealloc]; -} - -/** - * Opens low level HandBrake library. This should be called once before other - * functions HBCore are used. - * - * @param debugMode If set to YES, libhb will print verbose debug output. - * @param checkForUpdates If set to YES, libhb checks for updated versions. - * - * @return YES if libhb was opened, NO if there was an error. - */ -- (BOOL)openInDebugMode:(BOOL)debugMode checkForUpdates:(BOOL)checkForUpdates; -{ - NSAssert(!hb_handle, @"[HBCore openInDebugMode:checkForUpdates:] libhb is already open"); - if (hb_handle) - return NO; - - state = HBStateIdle; - - hb_handle = hb_init(debugMode ? HB_DEBUG_ALL : HB_DEBUG_NONE, checkForUpdates); - if (!hb_handle) - return NO; - - updateTimer = [[NSTimer scheduledTimerWithTimeInterval:0.5 - target:self - selector:@selector(stateUpdateTimer:) - userInfo:NULL - repeats:YES] retain]; - - [[NSRunLoop currentRunLoop] addTimer:updateTimer forMode:NSEventTrackingRunLoopMode]; - return YES; -} - -/** - * Closes low level HandBrake library and releases resources. - * - * @return YES if libhb was closed successfully, NO if there was an error. - */ -- (BOOL)close -{ - NSAssert(hb_handle, @"[HBCore close] libhb is not open"); - if (!hb_handle) - return NO; - - [updateTimer invalidate]; - [updateTimer release]; - updateTimer = nil; - hb_close(&hb_handle); - hb_handle = NULL; - return YES; -} - -/** - * Removes all jobs from the queue. - */ - -- (void) removeAllJobs -{ - hb_job_t * job; - while( ( job = hb_job( hb_handle, 0 ) ) ) - hb_rem( hb_handle, job ); -} - -/** - * Returns libhb handle used by this HBCore instance. - */ -- (struct hb_handle_s *)hb_handle -{ - return hb_handle; -} - -/** - * Returns current state of HBCore. - * - * @return One of the HBState* string constants. - */ -- (const NSString *)state -{ - return state; -} - -/** - * Returns latest hb_state_s information struct returned by libhb. - * - * @return Pointer to a hb_state_s struct containing state information of libhb. - */ -- (const struct hb_state_s *)hb_state -{ - return hb_state; -} - -@end - -@implementation HBCore (Private) - -/** - * Transforms a libhb state constant to a matching HBCore state constant. - */ -- (const NSString *)stateAsString:(int)stateValue -{ - switch (stateValue) - { - case HB_STATE_IDLE: - return HBStateIdle; - case HB_STATE_SCANNING: - return HBStateScanning; - case HB_STATE_SCANDONE: - return HBStateScanDone; - case HB_STATE_WORKING: - return HBStateWorking; - case HB_STATE_PAUSED: - return HBStatePaused; - case HB_STATE_WORKDONE: - return HBStateWorkDone; - case HB_STATE_MUXING: - return HBStateMuxing; - default: - NSAssert1(NO, @"[HBCore stateAsString:] unknown state %d", stateValue); - return nil; - } -} - -/** - * This method polls libhb continuously for state changes and processes them. - * Additional processing for each state is performed in methods that start - * with 'handle' (e.g. handleHBStateScanning). - */ -- (void)stateUpdateTimer:(NSTimer *)timer -{ - if (!hb_handle) - { - // Libhb is not open so we cannot do anything. - return; - } - - hb_get_state(hb_handle, hb_state); - - if (hb_state->state == HB_STATE_IDLE) - { - // Libhb reported HB_STATE_IDLE, so nothing interesting has happened. - return; - } - - // Update HBCore state to reflect the current state of libhb - NSString *newState = [self stateAsString:hb_state->state]; - if (newState != state) - { - [self willChangeValueForKey:@"state"]; - state = newState; - [self didChangeValueForKey:@"state"]; - } - - // Determine name of the method that does further processing for this state - // and call it. - SEL sel = NSSelectorFromString([NSString stringWithFormat:@"handle%@", state]); - if ([self respondsToSelector:sel]) - [self performSelector:sel]; -} - -/** - * Processes HBStateScanning state information. Current implementation just - * sends HBCoreScanningNotification. - */ -- (void)handleHBStateScanning -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCoreScanningNotification object:self]; -} - -/** - * Processes HBStateScanDone state information. Current implementation just - * sends HBCoreScanDoneNotification. - */ -- (void)handleHBStateScanDone -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCoreScanDoneNotification object:self]; -} - -/** - * Processes HBStateWorking state information. Current implementation just - * sends HBCoreWorkingNotification. - */ -- (void)handleHBStateWorking -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCoreWorkingNotification object:self]; -} - -/** - * Processes HBStatePaused state information. Current implementation just - * sends HBCorePausedNotification. - */ -- (void)handleHBStatePaused -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCorePausedNotification object:self]; -} - -/** - * Processes HBStateWorkDone state information. Current implementation just - * sends HBCoreWorkDoneNotification. - */ -- (void)handleHBStateWorkDone -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCoreWorkDoneNotification object:self]; -} - -/** - * Processes HBStateMuxing state information. Current implementation just - * sends HBCoreMuxingNotification. - */ -- (void)handleHBStateMuxing -{ - [[NSNotificationCenter defaultCenter] postNotificationName:HBCoreMuxingNotification object:self]; -} - -@end diff --git a/macosx/InstantHandBrake/InstantHandBrake.xcodeproj/project.pbxproj b/macosx/InstantHandBrake/InstantHandBrake.xcodeproj/project.pbxproj deleted file mode 100644 index 03cb21682..000000000 --- a/macosx/InstantHandBrake/InstantHandBrake.xcodeproj/project.pbxproj +++ /dev/null @@ -1,612 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 44; - objects = { - -/* Begin PBXAggregateTarget section */ - A95DD4FA0D4BA8A30056F1F2 /* Plist Macros */ = { - isa = PBXAggregateTarget; - buildConfigurationList = A95DD5070D4BA8E90056F1F2 /* Build configuration list for PBXAggregateTarget "Plist Macros" */; - buildPhases = ( - A95DD4F90D4BA8A30056F1F2 /* ShellScript */, - ); - dependencies = ( - ); - name = "Plist Macros"; - productName = "Plist Macros"; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 4D1EA2EA0993B09A00FDC1A2 /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.mm */; }; - 4D1EA2F60993B0CA00FDC1A2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; - 4D1EA31C0993B24700FDC1A2 /* ExpressController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D1EA31B0993B24700FDC1A2 /* ExpressController.m */; }; - 4D2AEA1A09CCB332007E18F6 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DEB2024052B055F00C39CA9 /* IOKit.framework */; }; - 4D3ECC2709A4917000B2E45F /* WhiteBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D3ECC2609A4917000B2E45F /* WhiteBox.m */; }; - A2122D820C7EAF6600AB87A4 /* DriveDetector.m in Sources */ = {isa = PBXBuildFile; fileRef = A2122D810C7EAF6600AB87A4 /* DriveDetector.m */; }; - A952EBCE0D3BB1B100A3DCA7 /* Open.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A952EBCD0D3BB1B100A3DCA7 /* Open.tiff */; }; - A9595E4A0D4E2CBC003906A9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9595E480D4E2CBC003906A9 /* InfoPlist.strings */; }; - A95C08560D50858F00084DA8 /* Devices in Resources */ = {isa = PBXBuildFile; fileRef = A95C08510D50858F00084DA8 /* Devices */; }; - A95DD5490D4BACF50056F1F2 /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9B706E50D356BC800385AF2 /* Growl.framework */; }; - A95DD6260D4BAD950056F1F2 /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A9B706E50D356BC800385AF2 /* Growl.framework */; }; - A98B18070D3CDF290093A591 /* Preset.m in Sources */ = {isa = PBXBuildFile; fileRef = A98B18060D3CDF290093A591 /* Preset.m */; }; - A98B180A0D3CDF380093A591 /* Device.m in Sources */ = {isa = PBXBuildFile; fileRef = A98B18090D3CDF380093A591 /* Device.m */; }; - A9B70A030D3570F100385AF2 /* HandBrake.icns in Resources */ = {isa = PBXBuildFile; fileRef = A9B70A020D3570F100385AF2 /* HandBrake.icns */; }; - A9B70A0F0D35719900385AF2 /* HBCore.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B70A0D0D35719900385AF2 /* HBCore.m */; }; - A9C0EDB90D478699005CA5CF /* DeviceController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9C0EDB80D478699005CA5CF /* DeviceController.m */; }; - A9DB3A1F0D37EC6800F77345 /* libhb.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB3A0F0D37EC2800F77345 /* libhb.a */; }; - A9ED4EF20D36226F004341F5 /* Play.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A9ED4EEF0D36226F004341F5 /* Play.tiff */; }; - A9ED4EF30D36226F004341F5 /* Pause.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A9ED4EF00D36226F004341F5 /* Pause.tiff */; }; - A9ED4EF40D36226F004341F5 /* Stop.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A9ED4EF10D36226F004341F5 /* Stop.tiff */; }; - A9ED502E0D36477D004341F5 /* Express.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9ED502C0D36477D004341F5 /* Express.xib */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - A95DD4FE0D4BA8D50056F1F2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; - proxyType = 1; - remoteGlobalIDString = A95DD4FA0D4BA8A30056F1F2; - remoteInfo = "Plist Macros"; - }; - A9DB3A0E0D37EC2800F77345 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A9DB3A080D37EC2800F77345 /* libhb.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 0DFF0B720B6BC6E600549488; - remoteInfo = libhb; - }; - A9DB3A140D37EC4200F77345 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = A9DB3A080D37EC2800F77345 /* libhb.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 0DFF0B710B6BC6E600549488; - remoteInfo = libhb; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - A95DD6D60D4BAD9D0056F1F2 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - A95DD6260D4BAD950056F1F2 /* Growl.framework in CopyFiles */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = main.mm; sourceTree = ""; }; - 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 4D1EA2DA0993B01000FDC1A2 /* Instant HandBrake.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Instant HandBrake.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 4D1EA2DC0993B01000FDC1A2 /* Express.plist */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Express.plist; sourceTree = ""; }; - 4D1EA31A0993B24700FDC1A2 /* ExpressController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ExpressController.h; sourceTree = ""; }; - 4D1EA31B0993B24700FDC1A2 /* ExpressController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = ExpressController.m; sourceTree = ""; }; - 4D3ECC2509A4917000B2E45F /* WhiteBox.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WhiteBox.h; sourceTree = ""; }; - 4D3ECC2609A4917000B2E45F /* WhiteBox.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = WhiteBox.m; sourceTree = ""; }; - 4DEB2024052B055F00C39CA9 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; - A2122D800C7EAF6500AB87A4 /* DriveDetector.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DriveDetector.h; sourceTree = ""; }; - A2122D810C7EAF6600AB87A4 /* DriveDetector.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = DriveDetector.m; sourceTree = ""; }; - A952EBCD0D3BB1B100A3DCA7 /* Open.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Open.tiff; sourceTree = ""; }; - A9595E490D4E2CBC003906A9 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; - A95C08510D50858F00084DA8 /* Devices */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Devices; sourceTree = ""; }; - A98B18050D3CDF290093A591 /* Preset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Preset.h; sourceTree = ""; }; - A98B18060D3CDF290093A591 /* Preset.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Preset.m; sourceTree = ""; }; - A98B18080D3CDF380093A591 /* Device.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Device.h; sourceTree = ""; }; - A98B18090D3CDF380093A591 /* Device.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Device.m; sourceTree = ""; }; - A9B706E50D356BC800385AF2 /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = ../Growl.framework; sourceTree = SOURCE_ROOT; }; - A9B70A010D3570D300385AF2 /* hb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hb.h; path = ../../libhb/hb.h; sourceTree = SOURCE_ROOT; }; - A9B70A020D3570F100385AF2 /* HandBrake.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = HandBrake.icns; path = ../HandBrake.icns; sourceTree = SOURCE_ROOT; }; - A9B70A0D0D35719900385AF2 /* HBCore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HBCore.m; sourceTree = ""; }; - A9B70A0E0D35719900385AF2 /* HBCore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HBCore.h; sourceTree = ""; }; - A9C0EDB70D478699005CA5CF /* DeviceController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceController.h; sourceTree = ""; }; - A9C0EDB80D478699005CA5CF /* DeviceController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DeviceController.m; sourceTree = ""; }; - A9DB3A080D37EC2800F77345 /* libhb.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = libhb.xcodeproj; sourceTree = ""; }; - A9ED4EEF0D36226F004341F5 /* Play.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Play.tiff; path = ../icons/Play.tiff; sourceTree = SOURCE_ROOT; }; - A9ED4EF00D36226F004341F5 /* Pause.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Pause.tiff; path = ../icons/Pause.tiff; sourceTree = SOURCE_ROOT; }; - A9ED4EF10D36226F004341F5 /* Stop.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Stop.tiff; path = ../icons/Stop.tiff; sourceTree = SOURCE_ROOT; }; - A9ED502D0D36477D004341F5 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/Express.xib; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 4D1EA2D80993B01000FDC1A2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - A95DD5490D4BACF50056F1F2 /* Growl.framework in Frameworks */, - A9DB3A1F0D37EC6800F77345 /* libhb.a in Frameworks */, - 4D1EA2F60993B0CA00FDC1A2 /* Cocoa.framework in Frameworks */, - 4D2AEA1A09CCB332007E18F6 /* IOKit.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 4D1EA2DA0993B01000FDC1A2 /* Instant HandBrake.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* HandBrake */ = { - isa = PBXGroup; - children = ( - A98B18080D3CDF380093A591 /* Device.h */, - A98B18090D3CDF380093A591 /* Device.m */, - A98B18050D3CDF290093A591 /* Preset.h */, - A98B18060D3CDF290093A591 /* Preset.m */, - A9C0EDB70D478699005CA5CF /* DeviceController.h */, - A9C0EDB80D478699005CA5CF /* DeviceController.m */, - 4D3ECC2509A4917000B2E45F /* WhiteBox.h */, - 4D3ECC2609A4917000B2E45F /* WhiteBox.m */, - A2122D800C7EAF6500AB87A4 /* DriveDetector.h */, - A2122D810C7EAF6600AB87A4 /* DriveDetector.m */, - 4D1EA31A0993B24700FDC1A2 /* ExpressController.h */, - 4D1EA31B0993B24700FDC1A2 /* ExpressController.m */, - A9B70A0E0D35719900385AF2 /* HBCore.h */, - A9B70A0D0D35719900385AF2 /* HBCore.m */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = HandBrake; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - A9B70A010D3570D300385AF2 /* hb.h */, - 29B97316FDCFA39411CA2CEA /* main.mm */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - A95C08510D50858F00084DA8 /* Devices */, - A952EBCD0D3BB1B100A3DCA7 /* Open.tiff */, - A9ED4EEF0D36226F004341F5 /* Play.tiff */, - A9ED4EF00D36226F004341F5 /* Pause.tiff */, - A9ED4EF10D36226F004341F5 /* Stop.tiff */, - A9595E480D4E2CBC003906A9 /* InfoPlist.strings */, - A9B70A020D3570F100385AF2 /* HandBrake.icns */, - 4D1EA2DC0993B01000FDC1A2 /* Express.plist */, - A9ED502C0D36477D004341F5 /* Express.xib */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - A9DB3A080D37EC2800F77345 /* libhb.xcodeproj */, - A9B706E50D356BC800385AF2 /* Growl.framework */, - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, - 4DEB2024052B055F00C39CA9 /* IOKit.framework */, - 29B97325FDCFA39411CA2CEA /* Foundation.framework */, - 29B97324FDCFA39411CA2CEA /* AppKit.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - A9DB3A090D37EC2800F77345 /* Products */ = { - isa = PBXGroup; - children = ( - A9DB3A0F0D37EC2800F77345 /* libhb.a */, - ); - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 4D1EA2D90993B01000FDC1A2 /* Instant HandBrake */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4D1EA2DD0993B01100FDC1A2 /* Build configuration list for PBXNativeTarget "Instant HandBrake" */; - buildPhases = ( - 4D1EA2D60993B01000FDC1A2 /* Resources */, - 4D1EA2D70993B01000FDC1A2 /* Sources */, - 4D1EA2D80993B01000FDC1A2 /* Frameworks */, - A95DD6D60D4BAD9D0056F1F2 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - A95DD4FF0D4BA8D50056F1F2 /* PBXTargetDependency */, - A9DB3A150D37EC4200F77345 /* PBXTargetDependency */, - ); - name = "Instant HandBrake"; - productName = "Instant HandBrake"; - productReference = 4D1EA2DA0993B01000FDC1A2 /* Instant HandBrake.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - }; - buildConfigurationList = 4D4E7BC4087804870051572B /* Build configuration list for PBXProject "InstantHandBrake" */; - compatibilityVersion = "Xcode 3.0"; - hasScannedForEncodings = 1; - mainGroup = 29B97314FDCFA39411CA2CEA /* HandBrake */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = A9DB3A090D37EC2800F77345 /* Products */; - ProjectRef = A9DB3A080D37EC2800F77345 /* libhb.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - 4D1EA2D90993B01000FDC1A2 /* Instant HandBrake */, - A95DD4FA0D4BA8A30056F1F2 /* Plist Macros */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXReferenceProxy section */ - A9DB3A0F0D37EC2800F77345 /* libhb.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libhb.a; - remoteRef = A9DB3A0E0D37EC2800F77345 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - -/* Begin PBXResourcesBuildPhase section */ - 4D1EA2D60993B01000FDC1A2 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A9B70A030D3570F100385AF2 /* HandBrake.icns in Resources */, - A9ED4EF20D36226F004341F5 /* Play.tiff in Resources */, - A9ED4EF30D36226F004341F5 /* Pause.tiff in Resources */, - A9ED4EF40D36226F004341F5 /* Stop.tiff in Resources */, - A9ED502E0D36477D004341F5 /* Express.xib in Resources */, - A952EBCE0D3BB1B100A3DCA7 /* Open.tiff in Resources */, - A9595E4A0D4E2CBC003906A9 /* InfoPlist.strings in Resources */, - A95C08560D50858F00084DA8 /* Devices in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - A95DD4F90D4BA8A30056F1F2 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - "${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/PlistMacros.h", - "${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/DummyFileToForceScriptToRunEveryTimeWithoutBeingCreated", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "PATH=$PATH:/usr/local/bin:/usr/bin:/sw/bin:/opt/local/bin\nbuildid=\"r`svn info | awk '/^Revision:/ {print $2}'`\"\n\necho \"#define BUILDID $buildid\" > $SCRIPT_OUTPUT_FILE_0\necho \"#define BUILDDATE `date`\" >> $SCRIPT_OUTPUT_FILE_0\necho \"#define WHOAMI `whoami`\" >> $SCRIPT_OUTPUT_FILE_0\n\n# Delete the intermediate Info.plist so that Xcode re-preprocesses the Info.plist with our updated macros.\n# Use -f because after a clean build, this file doesn't exist yet, so a plain rm would fail and stop the build.\nrm -f \"${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/Preprocessed-Info.plist\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 4D1EA2D70993B01000FDC1A2 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4D1EA2EA0993B09A00FDC1A2 /* main.mm in Sources */, - 4D1EA31C0993B24700FDC1A2 /* ExpressController.m in Sources */, - 4D3ECC2709A4917000B2E45F /* WhiteBox.m in Sources */, - A2122D820C7EAF6600AB87A4 /* DriveDetector.m in Sources */, - A9B70A0F0D35719900385AF2 /* HBCore.m in Sources */, - A98B18070D3CDF290093A591 /* Preset.m in Sources */, - A98B180A0D3CDF380093A591 /* Device.m in Sources */, - A9C0EDB90D478699005CA5CF /* DeviceController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - A95DD4FF0D4BA8D50056F1F2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = A95DD4FA0D4BA8A30056F1F2 /* Plist Macros */; - targetProxy = A95DD4FE0D4BA8D50056F1F2 /* PBXContainerItemProxy */; - }; - A9DB3A150D37EC4200F77345 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = libhb; - targetProxy = A9DB3A140D37EC4200F77345 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - A9595E480D4E2CBC003906A9 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - A9595E490D4E2CBC003906A9 /* English */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - A9ED502C0D36477D004341F5 /* Express.xib */ = { - isa = PBXVariantGroup; - children = ( - A9ED502D0D36477D004341F5 /* English */, - ); - name = Express.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 0D88F56D0B6CDCD400F81F26 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CONFIGURATION_BUILD_DIR = ..; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/..\"", - ); - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - HEADER_SEARCH_PATHS = ../libhb; - INFOPLIST_FILE = Express.plist; - INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-C"; - INFOPLIST_PREFIX_HEADER = "${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/PlistMacros.h"; - INFOPLIST_PREPROCESS = YES; - INSTALL_PATH = "$(HOME)/Applications"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", - "\"$(SRCROOT)/../../libhb\"", - ); - LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)\""; - OTHER_LDFLAGS = ( - ../libhb/libhb.a, - ../contrib/lib/libmp4v2.a, - ../contrib/lib/libavformat.a, - ../contrib/lib/libavcodec.a, - ../contrib/lib/libavutil.a, - ../contrib/lib/libdvdread.a, - ../contrib/lib/libdvdcss.a, - ../contrib/lib/libfaac.a, - ../contrib/lib/libmp3lame.a, - ../contrib/lib/libvorbis.a, - ../contrib/lib/libvorbisenc.a, - ../contrib/lib/libogg.a, - ../contrib/lib/libsamplerate.a, - ../contrib/lib/libx264.a, - ../contrib/lib/libxvidcore.a, - ../contrib/lib/libdca.a, - ../contrib/lib/libmkv.a, - ../contrib/lib/libswscale.a, - ); - PREBINDING = NO; - PRODUCT_NAME = "Instant HandBrake"; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; - }; - name = Release; - }; - 0D88F56F0B6CDCD400F81F26 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ( - ppc, - i386, - ); - EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "*.nib *.lproj *.framework *.gch (*) CVS .svn *.xcodeproj *.xcode *.pbproj *.pbxproj"; - GCC_AUTO_VECTORIZATION = YES; - GCC_ENABLE_SSE3_EXTENSIONS = YES; - GCC_MODEL_TUNING = G5; - GCC_PREPROCESSOR_DEFINITIONS = "JOB_GROUPS=1"; - GCC_WARN_UNUSED_VALUE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_PREPROCESS = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - }; - name = Release; - }; - 4D1EA2DE0993B01100FDC1A2 /* Development */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/..\"", - ); - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - HEADER_SEARCH_PATHS = ../libhb; - INFOPLIST_FILE = Express.plist; - INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-C"; - INFOPLIST_PREFIX_HEADER = "${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/PlistMacros.h"; - INFOPLIST_PREPROCESS = YES; - INSTALL_PATH = "$(HOME)/Applications"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", - "\"$(SRCROOT)/../../libhb\"", - ); - LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)\""; - OTHER_LDFLAGS = ""; - PREBINDING = NO; - PRODUCT_NAME = "Instant HandBrake"; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; - }; - name = Development; - }; - 4D1EA2DF0993B01100FDC1A2 /* Deployment */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/..\"", - ); - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - GCC_PREPROCESSOR_DEFINITIONS = ""; - HEADER_SEARCH_PATHS = ../libhb; - INFOPLIST_FILE = Express.plist; - INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "-C"; - INFOPLIST_PREFIX_HEADER = "${CONFIGURATION_TEMP_DIR}/Instant HandBrake.build/PlistMacros.h"; - INFOPLIST_PREPROCESS = YES; - INSTALL_PATH = "$(HOME)/Applications"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", - "\"$(SRCROOT)/../../libhb\"", - ); - OTHER_LDFLAGS = ""; - PREBINDING = NO; - PRODUCT_NAME = "Instant HandBrake"; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; - }; - name = Deployment; - }; - 4D4E7BC5087804870051572B /* Development */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEBUG_INFORMATION_FORMAT = dwarf; - EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "*.nib *.lproj *.framework *.gch (*) CVS .svn *.xcodeproj *.xcode *.pbproj *.pbxproj"; - GCC_AUTO_VECTORIZATION = NO; - GCC_DEBUGGING_SYMBOLS = default; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_ENABLE_SSE3_EXTENSIONS = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = "JOB_GROUPS=1"; - GCC_WARN_UNUSED_VALUE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_PREPROCESS = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - ZERO_LINK = NO; - }; - name = Development; - }; - 4D4E7BC6087804870051572B /* Deployment */ = { - isa = XCBuildConfiguration; - buildSettings = { - EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "*.nib *.lproj *.framework *.gch (*) CVS .svn *.xcodeproj *.xcode *.pbproj *.pbxproj"; - GCC_AUTO_VECTORIZATION = YES; - GCC_ENABLE_SSE3_EXTENSIONS = YES; - GCC_MODEL_TUNING = G5; - GCC_PREPROCESSOR_DEFINITIONS = "JOB_GROUPS=1"; - GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VALUE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_PREPROCESS = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; - }; - name = Deployment; - }; - A95DD4FB0D4BA8A30056F1F2 /* Development */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - PRODUCT_NAME = "Plist Macros"; - }; - name = Development; - }; - A95DD4FC0D4BA8A30056F1F2 /* Deployment */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - PRODUCT_NAME = "Plist Macros"; - ZERO_LINK = NO; - }; - name = Deployment; - }; - A95DD4FD0D4BA8A30056F1F2 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - PRODUCT_NAME = "Plist Macros"; - ZERO_LINK = NO; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 4D1EA2DD0993B01100FDC1A2 /* Build configuration list for PBXNativeTarget "Instant HandBrake" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4D1EA2DE0993B01100FDC1A2 /* Development */, - 4D1EA2DF0993B01100FDC1A2 /* Deployment */, - 0D88F56D0B6CDCD400F81F26 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Deployment; - }; - 4D4E7BC4087804870051572B /* Build configuration list for PBXProject "InstantHandBrake" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4D4E7BC5087804870051572B /* Development */, - 4D4E7BC6087804870051572B /* Deployment */, - 0D88F56F0B6CDCD400F81F26 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Deployment; - }; - A95DD5070D4BA8E90056F1F2 /* Build configuration list for PBXAggregateTarget "Plist Macros" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A95DD4FB0D4BA8A30056F1F2 /* Development */, - A95DD4FC0D4BA8A30056F1F2 /* Deployment */, - A95DD4FD0D4BA8A30056F1F2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Deployment; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/macosx/InstantHandBrake/Open.tiff b/macosx/InstantHandBrake/Open.tiff deleted file mode 100644 index ec5d0a384..000000000 Binary files a/macosx/InstantHandBrake/Open.tiff and /dev/null differ diff --git a/macosx/InstantHandBrake/Preset.h b/macosx/InstantHandBrake/Preset.h deleted file mode 100644 index 2d53f0ae4..000000000 --- a/macosx/InstantHandBrake/Preset.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// Preset.h -// InstantHandBrake -// -// Created by Damiano Galassi on 15/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import - - -@interface Preset : NSObject { - NSString *presetName; - - int fMuxer; - int fVideoCodec; - int fVideoBitRate; - NSString *fVideoCodecOptions; - - int fAudioCodec; - int fAudioBitRate; - int fAudioSampleRate; - - int fMaxWidth; - int fMaxHeight; - int fAnamorphic; -} - -- (id) initWithMuxer: (int) muxer - videoCodec: (int) videoCodec - videoBitRate: (int) videoBitRate - videoCodecOptions: (NSString *) videoCodecOptions - audioCodec: (int) audioCodec - audioBitrate: (int) audioBitrate - audioSampleRate: (int) audioSampleRate - maxWidth: (int) maxWidth - maxHeight: (int) maxHeight - anamorphic: (int) anamorphic; - -- (int) muxer; -- (int) videoCodec; -- (NSString *) videoCodecOptions; -- (int) videoBitRate; -- (int) AudioCodec; -- (int) maxWidth; -- (int) maxHeight; - -@end diff --git a/macosx/InstantHandBrake/Preset.m b/macosx/InstantHandBrake/Preset.m deleted file mode 100644 index 8eba139f1..000000000 --- a/macosx/InstantHandBrake/Preset.m +++ /dev/null @@ -1,117 +0,0 @@ -// -// Preset.h -// InstantHandBrake -// -// Created by Damiano Galassi on 15/01/08. -// This file is part of the HandBrake source code. -// Homepage: . -// It may be used under the terms of the GNU General Public License. -// -// - -#import "Preset.h" - - -@implementation Preset - -- (id) initWithMuxer: (int) muxer - videoCodec: (int) videoCodec - videoBitRate: (int) videoBitRate - videoCodecOptions: (NSString *) videoCodecOptions - audioCodec: (int) audioCodec - audioBitrate: (int) audioBitrate - audioSampleRate: (int) audioSampleRate - maxWidth: (int) maxWidth - maxHeight: (int) maxHeight - anamorphic: (int) anamorphic; -{ - if (self = [super init]) - { - fMuxer = muxer; - fVideoCodec = videoCodec; - fVideoBitRate = videoBitRate; - fVideoCodecOptions = videoCodecOptions; - fAudioCodec = audioCodec; - fAudioBitRate = audioBitrate; - fAudioSampleRate = audioSampleRate; - fMaxWidth = maxWidth; - fMaxHeight = maxHeight; - fAnamorphic = anamorphic; - } - return self; -} - -- (void) dealloc -{ - [fVideoCodecOptions release]; - [super dealloc]; -} - -- (id) initWithCoder:(NSCoder *) coder -{ - presetName = [[coder decodeObjectForKey:@"Name"] retain]; - fMuxer = [coder decodeIntForKey:@"Muxer"]; - fVideoCodec = [coder decodeIntForKey:@"VideoCodec"]; - fVideoBitRate = [coder decodeIntForKey:@"VideoBitRate"]; - fVideoCodecOptions = [[coder decodeObjectForKey:@"VideoCodecOptions"] retain]; - fAudioCodec = [coder decodeIntForKey:@"AudioCodec"]; - fAudioBitRate = [coder decodeIntForKey:@"AudioBitRate"]; - fAudioSampleRate = [coder decodeIntForKey:@"AudioSampleRate"]; - fMaxWidth = [coder decodeIntForKey:@"MaxWidth"]; - fMaxHeight = [coder decodeIntForKey:@"MaxHeight"]; - fAnamorphic = [coder decodeIntForKey:@"Anarmophic"]; - - return self; -} - -- (void) encodeWithCoder:(NSCoder *)encoder -{ - [encoder encodeObject:presetName forKey:@"Name"]; - [encoder encodeInt:fMuxer forKey:@"Muxer"]; - [encoder encodeInt:fVideoCodec forKey:@"VideoCodec"]; - [encoder encodeInt:fVideoBitRate forKey:@"VideoBitRate"]; - [encoder encodeObject:fVideoCodecOptions forKey:@"VideoCodecOptions"]; - [encoder encodeInt:fAudioCodec forKey:@"AudioCodec"]; - [encoder encodeInt:fAudioBitRate forKey:@"AudioBitRate"]; - [encoder encodeInt:fAudioSampleRate forKey:@"AudioSampleRate"]; - [encoder encodeInt:fMaxWidth forKey:@"MaxWidth"]; - [encoder encodeInt:fMaxHeight forKey:@"MaxHeight"]; - [encoder encodeInt:fAnamorphic forKey:@"Anarmophic"]; -} - -- (int) muxer -{ - return fMuxer; -} - -- (int) videoCodec; -{ - return fVideoCodec; -} - -- (NSString *) videoCodecOptions -{ - return fVideoCodecOptions; -} - -- (int) videoBitRate -{ - return fVideoBitRate; -} - -- (int) AudioCodec; -{ - return fAudioCodec; -} - -- (int) maxWidth; -{ - return fMaxWidth; -} - -- (int) maxHeight; -{ - return fMaxHeight; -} - -@end diff --git a/macosx/InstantHandBrake/WhiteBox.h b/macosx/InstantHandBrake/WhiteBox.h deleted file mode 100644 index 973d7937e..000000000 --- a/macosx/InstantHandBrake/WhiteBox.h +++ /dev/null @@ -1,12 +0,0 @@ -/* WhiteBox - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#import - -@interface WhiteBox : NSBox -{ -} -@end diff --git a/macosx/InstantHandBrake/WhiteBox.m b/macosx/InstantHandBrake/WhiteBox.m deleted file mode 100644 index 6e5c39d2e..000000000 --- a/macosx/InstantHandBrake/WhiteBox.m +++ /dev/null @@ -1,18 +0,0 @@ -/* WhiteBox - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#import "WhiteBox.h" - -@implementation WhiteBox - -- (void) drawRect: (NSRect) rect -{ - [[NSColor whiteColor] set]; - [[NSBezierPath bezierPathWithRect: rect] fill]; - [super drawRect: rect]; -} - -@end diff --git a/macosx/InstantHandBrake/libhb.xcodeproj/project.pbxproj b/macosx/InstantHandBrake/libhb.xcodeproj/project.pbxproj deleted file mode 100644 index e6801c237..000000000 --- a/macosx/InstantHandBrake/libhb.xcodeproj/project.pbxproj +++ /dev/null @@ -1,529 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 42; - objects = { - -/* Begin PBXBuildFile section */ - A9DB39100D37EA0300F77345 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38E70D37EA0300F77345 /* common.c */; }; - A9DB39110D37EA0300F77345 /* common.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DB38E80D37EA0300F77345 /* common.h */; }; - A9DB39120D37EA0300F77345 /* deblock.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38E90D37EA0300F77345 /* deblock.c */; }; - A9DB39140D37EA0300F77345 /* decavcodec.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38EB0D37EA0300F77345 /* decavcodec.c */; }; - A9DB39150D37EA0300F77345 /* decdca.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38EC0D37EA0300F77345 /* decdca.c */; }; - A9DB39160D37EA0300F77345 /* declpcm.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38ED0D37EA0300F77345 /* declpcm.c */; }; - A9DB39180D37EA0300F77345 /* decsub.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38EF0D37EA0300F77345 /* decsub.c */; }; - A9DB39190D37EA0300F77345 /* deinterlace.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F00D37EA0300F77345 /* deinterlace.c */; }; - A9DB391A0D37EA0300F77345 /* demuxmpeg.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F10D37EA0300F77345 /* demuxmpeg.c */; }; - A9DB391B0D37EA0300F77345 /* denoise.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F20D37EA0300F77345 /* denoise.c */; }; - A9DB391C0D37EA0300F77345 /* detelecine.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F30D37EA0300F77345 /* detelecine.c */; }; - A9DB391D0D37EA0300F77345 /* dvd.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F40D37EA0300F77345 /* dvd.c */; }; - A9DB391E0D37EA0300F77345 /* encavcodec.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F50D37EA0300F77345 /* encavcodec.c */; }; - A9DB391F0D37EA0300F77345 /* encfaac.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F60D37EA0300F77345 /* encfaac.c */; }; - A9DB39200D37EA0300F77345 /* enclame.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F70D37EA0300F77345 /* enclame.c */; }; - A9DB39210D37EA0300F77345 /* encvorbis.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F80D37EA0300F77345 /* encvorbis.c */; }; - A9DB39220D37EA0300F77345 /* encx264.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38F90D37EA0300F77345 /* encx264.c */; }; - A9DB39230D37EA0300F77345 /* encxvid.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38FA0D37EA0300F77345 /* encxvid.c */; }; - A9DB39240D37EA0300F77345 /* fifo.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38FB0D37EA0300F77345 /* fifo.c */; }; - A9DB39250D37EA0300F77345 /* hb.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38FC0D37EA0300F77345 /* hb.c */; }; - A9DB39260D37EA0300F77345 /* hb.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DB38FD0D37EA0300F77345 /* hb.h */; }; - A9DB39270D37EA0300F77345 /* internal.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DB38FE0D37EA0300F77345 /* internal.h */; }; - A9DB39280D37EA0300F77345 /* ipodutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A9DB38FF0D37EA0300F77345 /* ipodutil.cpp */; }; - A9DB39290D37EA0300F77345 /* lang.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39000D37EA0300F77345 /* lang.c */; }; - A9DB392A0D37EA0300F77345 /* lang.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DB39010D37EA0300F77345 /* lang.h */; }; - A9DB392B0D37EA0300F77345 /* muxavi.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39020D37EA0300F77345 /* muxavi.c */; }; - A9DB392C0D37EA0300F77345 /* muxcommon.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39030D37EA0300F77345 /* muxcommon.c */; }; - A9DB392D0D37EA0300F77345 /* muxmkv.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39040D37EA0300F77345 /* muxmkv.c */; }; - A9DB392E0D37EA0300F77345 /* muxmp4.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39050D37EA0300F77345 /* muxmp4.c */; }; - A9DB392F0D37EA0300F77345 /* muxogm.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39060D37EA0300F77345 /* muxogm.c */; }; - A9DB39300D37EA0300F77345 /* ports.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39070D37EA0300F77345 /* ports.c */; }; - A9DB39310D37EA0300F77345 /* ports.h in Headers */ = {isa = PBXBuildFile; fileRef = A9DB39080D37EA0300F77345 /* ports.h */; }; - A9DB39320D37EA0300F77345 /* reader.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB39090D37EA0300F77345 /* reader.c */; }; - A9DB39330D37EA0300F77345 /* render.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390A0D37EA0300F77345 /* render.c */; }; - A9DB39340D37EA0300F77345 /* scan.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390B0D37EA0300F77345 /* scan.c */; }; - A9DB39350D37EA0300F77345 /* stream.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390C0D37EA0300F77345 /* stream.c */; }; - A9DB39360D37EA0300F77345 /* sync.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390D0D37EA0300F77345 /* sync.c */; }; - A9DB39370D37EA0300F77345 /* update.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390E0D37EA0300F77345 /* update.c */; }; - A9DB39380D37EA0300F77345 /* work.c in Sources */ = {isa = PBXBuildFile; fileRef = A9DB390F0D37EA0300F77345 /* work.c */; }; - A9DB39B30D37EB4700F77345 /* libavcodec.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB399E0D37EB4700F77345 /* libavcodec.a */; }; - A9DB39B40D37EB4700F77345 /* libavformat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB399F0D37EB4700F77345 /* libavformat.a */; }; - A9DB39B50D37EB4700F77345 /* libavutil.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A00D37EB4700F77345 /* libavutil.a */; }; - A9DB39B60D37EB4700F77345 /* libdca.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A10D37EB4700F77345 /* libdca.a */; }; - A9DB39B70D37EB4700F77345 /* libdvdcss.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A20D37EB4700F77345 /* libdvdcss.a */; }; - A9DB39B80D37EB4700F77345 /* libdvdread.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A30D37EB4700F77345 /* libdvdread.a */; }; - A9DB39B90D37EB4700F77345 /* libfaac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A40D37EB4700F77345 /* libfaac.a */; }; - A9DB39BA0D37EB4700F77345 /* libmkv.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A50D37EB4700F77345 /* libmkv.a */; }; - A9DB39BB0D37EB4700F77345 /* libmp3lame.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A60D37EB4700F77345 /* libmp3lame.a */; }; - A9DB39BC0D37EB4700F77345 /* libmp4v2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A70D37EB4700F77345 /* libmp4v2.a */; }; - A9DB39BE0D37EB4700F77345 /* libmpeg2convert.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39A90D37EB4700F77345 /* libmpeg2convert.a */; }; - A9DB39BF0D37EB4700F77345 /* libogg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AA0D37EB4700F77345 /* libogg.a */; }; - A9DB39C00D37EB4700F77345 /* libsamplerate.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AB0D37EB4700F77345 /* libsamplerate.a */; }; - A9DB39C10D37EB4700F77345 /* libswscale.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AC0D37EB4700F77345 /* libswscale.a */; }; - A9DB39C20D37EB4700F77345 /* libvorbis.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AD0D37EB4700F77345 /* libvorbis.a */; }; - A9DB39C30D37EB4700F77345 /* libvorbisenc.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AE0D37EB4700F77345 /* libvorbisenc.a */; }; - A9DB39C40D37EB4700F77345 /* libvorbisfile.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39AF0D37EB4700F77345 /* libvorbisfile.a */; }; - A9DB39C50D37EB4700F77345 /* libxvidcore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39B00D37EB4700F77345 /* libxvidcore.a */; }; - A9DB39C60D37EB4700F77345 /* libx264.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9DB39B10D37EB4700F77345 /* libx264.a */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 0DFF0B720B6BC6E600549488 /* libhandbrake.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libhandbrake.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 4D1125D709D72FD200E0657B /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = /usr/lib/libz.dylib; sourceTree = ""; }; - 4DEB2024052B055F00C39CA9 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; - A9DB38E70D37EA0300F77345 /* common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = common.c; path = ../../libhb/common.c; sourceTree = SOURCE_ROOT; }; - A9DB38E80D37EA0300F77345 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../../libhb/common.h; sourceTree = SOURCE_ROOT; }; - A9DB38E90D37EA0300F77345 /* deblock.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = deblock.c; path = ../../libhb/deblock.c; sourceTree = SOURCE_ROOT; }; - A9DB38EB0D37EA0300F77345 /* decavcodec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = decavcodec.c; path = ../../libhb/decavcodec.c; sourceTree = SOURCE_ROOT; }; - A9DB38EC0D37EA0300F77345 /* decdca.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = decdca.c; path = ../../libhb/decdca.c; sourceTree = SOURCE_ROOT; }; - A9DB38ED0D37EA0300F77345 /* declpcm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = declpcm.c; path = ../../libhb/declpcm.c; sourceTree = SOURCE_ROOT; }; - A9DB38EF0D37EA0300F77345 /* decsub.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = decsub.c; path = ../../libhb/decsub.c; sourceTree = SOURCE_ROOT; }; - A9DB38F00D37EA0300F77345 /* deinterlace.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = deinterlace.c; path = ../../libhb/deinterlace.c; sourceTree = SOURCE_ROOT; }; - A9DB38F10D37EA0300F77345 /* demuxmpeg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = demuxmpeg.c; path = ../../libhb/demuxmpeg.c; sourceTree = SOURCE_ROOT; }; - A9DB38F20D37EA0300F77345 /* denoise.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = denoise.c; path = ../../libhb/denoise.c; sourceTree = SOURCE_ROOT; }; - A9DB38F30D37EA0300F77345 /* detelecine.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = detelecine.c; path = ../../libhb/detelecine.c; sourceTree = SOURCE_ROOT; }; - A9DB38F40D37EA0300F77345 /* dvd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dvd.c; path = ../../libhb/dvd.c; sourceTree = SOURCE_ROOT; }; - A9DB38F50D37EA0300F77345 /* encavcodec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encavcodec.c; path = ../../libhb/encavcodec.c; sourceTree = SOURCE_ROOT; }; - A9DB38F60D37EA0300F77345 /* encfaac.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encfaac.c; path = ../../libhb/encfaac.c; sourceTree = SOURCE_ROOT; }; - A9DB38F70D37EA0300F77345 /* enclame.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = enclame.c; path = ../../libhb/enclame.c; sourceTree = SOURCE_ROOT; }; - A9DB38F80D37EA0300F77345 /* encvorbis.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encvorbis.c; path = ../../libhb/encvorbis.c; sourceTree = SOURCE_ROOT; }; - A9DB38F90D37EA0300F77345 /* encx264.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encx264.c; path = ../../libhb/encx264.c; sourceTree = SOURCE_ROOT; }; - A9DB38FA0D37EA0300F77345 /* encxvid.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = encxvid.c; path = ../../libhb/encxvid.c; sourceTree = SOURCE_ROOT; }; - A9DB38FB0D37EA0300F77345 /* fifo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = fifo.c; path = ../../libhb/fifo.c; sourceTree = SOURCE_ROOT; }; - A9DB38FC0D37EA0300F77345 /* hb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hb.c; path = ../../libhb/hb.c; sourceTree = SOURCE_ROOT; }; - A9DB38FD0D37EA0300F77345 /* hb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hb.h; path = ../../libhb/hb.h; sourceTree = SOURCE_ROOT; }; - A9DB38FE0D37EA0300F77345 /* internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = internal.h; path = ../../libhb/internal.h; sourceTree = SOURCE_ROOT; }; - A9DB38FF0D37EA0300F77345 /* ipodutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ipodutil.cpp; path = ../../libhb/ipodutil.cpp; sourceTree = SOURCE_ROOT; }; - A9DB39000D37EA0300F77345 /* lang.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = lang.c; path = ../../libhb/lang.c; sourceTree = SOURCE_ROOT; }; - A9DB39010D37EA0300F77345 /* lang.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lang.h; path = ../../libhb/lang.h; sourceTree = SOURCE_ROOT; }; - A9DB39020D37EA0300F77345 /* muxavi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = muxavi.c; path = ../../libhb/muxavi.c; sourceTree = SOURCE_ROOT; }; - A9DB39030D37EA0300F77345 /* muxcommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = muxcommon.c; path = ../../libhb/muxcommon.c; sourceTree = SOURCE_ROOT; }; - A9DB39040D37EA0300F77345 /* muxmkv.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = muxmkv.c; path = ../../libhb/muxmkv.c; sourceTree = SOURCE_ROOT; }; - A9DB39050D37EA0300F77345 /* muxmp4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = muxmp4.c; path = ../../libhb/muxmp4.c; sourceTree = SOURCE_ROOT; }; - A9DB39060D37EA0300F77345 /* muxogm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = muxogm.c; path = ../../libhb/muxogm.c; sourceTree = SOURCE_ROOT; }; - A9DB39070D37EA0300F77345 /* ports.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ports.c; path = ../../libhb/ports.c; sourceTree = SOURCE_ROOT; }; - A9DB39080D37EA0300F77345 /* ports.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ports.h; path = ../../libhb/ports.h; sourceTree = SOURCE_ROOT; }; - A9DB39090D37EA0300F77345 /* reader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = reader.c; path = ../../libhb/reader.c; sourceTree = SOURCE_ROOT; }; - A9DB390A0D37EA0300F77345 /* render.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = render.c; path = ../../libhb/render.c; sourceTree = SOURCE_ROOT; }; - A9DB390B0D37EA0300F77345 /* scan.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = scan.c; path = ../../libhb/scan.c; sourceTree = SOURCE_ROOT; }; - A9DB390C0D37EA0300F77345 /* stream.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = stream.c; path = ../../libhb/stream.c; sourceTree = SOURCE_ROOT; }; - A9DB390D0D37EA0300F77345 /* sync.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sync.c; path = ../../libhb/sync.c; sourceTree = SOURCE_ROOT; }; - A9DB390E0D37EA0300F77345 /* update.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = update.c; path = ../../libhb/update.c; sourceTree = SOURCE_ROOT; }; - A9DB390F0D37EA0300F77345 /* work.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = work.c; path = ../../libhb/work.c; sourceTree = SOURCE_ROOT; }; - A9DB399E0D37EB4700F77345 /* libavcodec.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavcodec.a; path = ../../contrib/lib/libavcodec.a; sourceTree = SOURCE_ROOT; }; - A9DB399F0D37EB4700F77345 /* libavformat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavformat.a; path = ../../contrib/lib/libavformat.a; sourceTree = SOURCE_ROOT; }; - A9DB39A00D37EB4700F77345 /* libavutil.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libavutil.a; path = ../../contrib/lib/libavutil.a; sourceTree = SOURCE_ROOT; }; - A9DB39A10D37EB4700F77345 /* libdca.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libdca.a; path = ../../contrib/lib/libdca.a; sourceTree = SOURCE_ROOT; }; - A9DB39A20D37EB4700F77345 /* libdvdcss.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libdvdcss.a; path = ../../contrib/lib/libdvdcss.a; sourceTree = SOURCE_ROOT; }; - A9DB39A30D37EB4700F77345 /* libdvdread.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libdvdread.a; path = ../../contrib/lib/libdvdread.a; sourceTree = SOURCE_ROOT; }; - A9DB39A40D37EB4700F77345 /* libfaac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libfaac.a; path = ../../contrib/lib/libfaac.a; sourceTree = SOURCE_ROOT; }; - A9DB39A50D37EB4700F77345 /* libmkv.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmkv.a; path = ../../contrib/lib/libmkv.a; sourceTree = SOURCE_ROOT; }; - A9DB39A60D37EB4700F77345 /* libmp3lame.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmp3lame.a; path = ../../contrib/lib/libmp3lame.a; sourceTree = SOURCE_ROOT; }; - A9DB39A70D37EB4700F77345 /* libmp4v2.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmp4v2.a; path = ../../contrib/lib/libmp4v2.a; sourceTree = SOURCE_ROOT; }; - A9DB39A90D37EB4700F77345 /* libmpeg2convert.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmpeg2convert.a; path = ../../contrib/lib/libmpeg2convert.a; sourceTree = SOURCE_ROOT; }; - A9DB39AA0D37EB4700F77345 /* libogg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libogg.a; path = ../../contrib/lib/libogg.a; sourceTree = SOURCE_ROOT; }; - A9DB39AB0D37EB4700F77345 /* libsamplerate.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libsamplerate.a; path = ../../contrib/lib/libsamplerate.a; sourceTree = SOURCE_ROOT; }; - A9DB39AC0D37EB4700F77345 /* libswscale.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libswscale.a; path = ../../contrib/lib/libswscale.a; sourceTree = SOURCE_ROOT; }; - A9DB39AD0D37EB4700F77345 /* libvorbis.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libvorbis.a; path = ../../contrib/lib/libvorbis.a; sourceTree = SOURCE_ROOT; }; - A9DB39AE0D37EB4700F77345 /* libvorbisenc.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libvorbisenc.a; path = ../../contrib/lib/libvorbisenc.a; sourceTree = SOURCE_ROOT; }; - A9DB39AF0D37EB4700F77345 /* libvorbisfile.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libvorbisfile.a; path = ../../contrib/lib/libvorbisfile.a; sourceTree = SOURCE_ROOT; }; - A9DB39B00D37EB4700F77345 /* libxvidcore.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libxvidcore.a; path = ../../contrib/lib/libxvidcore.a; sourceTree = SOURCE_ROOT; }; - A9DB39B10D37EB4700F77345 /* libx264.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libx264.a; path = ../../contrib/lib/libx264.a; sourceTree = SOURCE_ROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 0DFF0B700B6BC6E600549488 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - A9DB39B30D37EB4700F77345 /* libavcodec.a in Frameworks */, - A9DB39B40D37EB4700F77345 /* libavformat.a in Frameworks */, - A9DB39B50D37EB4700F77345 /* libavutil.a in Frameworks */, - A9DB39B60D37EB4700F77345 /* libdca.a in Frameworks */, - A9DB39B70D37EB4700F77345 /* libdvdcss.a in Frameworks */, - A9DB39B80D37EB4700F77345 /* libdvdread.a in Frameworks */, - A9DB39B90D37EB4700F77345 /* libfaac.a in Frameworks */, - A9DB39BA0D37EB4700F77345 /* libmkv.a in Frameworks */, - A9DB39BB0D37EB4700F77345 /* libmp3lame.a in Frameworks */, - A9DB39BC0D37EB4700F77345 /* libmp4v2.a in Frameworks */, - A9DB39BE0D37EB4700F77345 /* libmpeg2convert.a in Frameworks */, - A9DB39BF0D37EB4700F77345 /* libogg.a in Frameworks */, - A9DB39C00D37EB4700F77345 /* libsamplerate.a in Frameworks */, - A9DB39C10D37EB4700F77345 /* libswscale.a in Frameworks */, - A9DB39C20D37EB4700F77345 /* libvorbis.a in Frameworks */, - A9DB39C30D37EB4700F77345 /* libvorbisenc.a in Frameworks */, - A9DB39C40D37EB4700F77345 /* libvorbisfile.a in Frameworks */, - A9DB39C50D37EB4700F77345 /* libxvidcore.a in Frameworks */, - A9DB39C60D37EB4700F77345 /* libx264.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 0DFF0B720B6BC6E600549488 /* libhandbrake.a */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* HandBrake */ = { - isa = PBXGroup; - children = ( - A9DB38E70D37EA0300F77345 /* common.c */, - A9DB38E80D37EA0300F77345 /* common.h */, - A9DB38E90D37EA0300F77345 /* deblock.c */, - A9DB38EB0D37EA0300F77345 /* decavcodec.c */, - A9DB38EC0D37EA0300F77345 /* decdca.c */, - A9DB38ED0D37EA0300F77345 /* declpcm.c */, - A9DB38EF0D37EA0300F77345 /* decsub.c */, - A9DB38F00D37EA0300F77345 /* deinterlace.c */, - A9DB38F10D37EA0300F77345 /* demuxmpeg.c */, - A9DB38F20D37EA0300F77345 /* denoise.c */, - A9DB38F30D37EA0300F77345 /* detelecine.c */, - A9DB38F40D37EA0300F77345 /* dvd.c */, - A9DB38F50D37EA0300F77345 /* encavcodec.c */, - A9DB38F60D37EA0300F77345 /* encfaac.c */, - A9DB38F70D37EA0300F77345 /* enclame.c */, - A9DB38F80D37EA0300F77345 /* encvorbis.c */, - A9DB38F90D37EA0300F77345 /* encx264.c */, - A9DB38FA0D37EA0300F77345 /* encxvid.c */, - A9DB38FB0D37EA0300F77345 /* fifo.c */, - A9DB38FC0D37EA0300F77345 /* hb.c */, - A9DB38FD0D37EA0300F77345 /* hb.h */, - A9DB38FE0D37EA0300F77345 /* internal.h */, - A9DB38FF0D37EA0300F77345 /* ipodutil.cpp */, - A9DB39000D37EA0300F77345 /* lang.c */, - A9DB39010D37EA0300F77345 /* lang.h */, - A9DB39020D37EA0300F77345 /* muxavi.c */, - A9DB39030D37EA0300F77345 /* muxcommon.c */, - A9DB39040D37EA0300F77345 /* muxmkv.c */, - A9DB39050D37EA0300F77345 /* muxmp4.c */, - A9DB39060D37EA0300F77345 /* muxogm.c */, - A9DB39070D37EA0300F77345 /* ports.c */, - A9DB39080D37EA0300F77345 /* ports.h */, - A9DB39090D37EA0300F77345 /* reader.c */, - A9DB390A0D37EA0300F77345 /* render.c */, - A9DB390B0D37EA0300F77345 /* scan.c */, - A9DB390C0D37EA0300F77345 /* stream.c */, - A9DB390D0D37EA0300F77345 /* sync.c */, - A9DB390E0D37EA0300F77345 /* update.c */, - A9DB390F0D37EA0300F77345 /* work.c */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = HandBrake; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - A9DB399E0D37EB4700F77345 /* libavcodec.a */, - A9DB399F0D37EB4700F77345 /* libavformat.a */, - A9DB39A00D37EB4700F77345 /* libavutil.a */, - A9DB39A10D37EB4700F77345 /* libdca.a */, - A9DB39A20D37EB4700F77345 /* libdvdcss.a */, - A9DB39A30D37EB4700F77345 /* libdvdread.a */, - A9DB39A40D37EB4700F77345 /* libfaac.a */, - A9DB39A50D37EB4700F77345 /* libmkv.a */, - A9DB39A60D37EB4700F77345 /* libmp3lame.a */, - A9DB39A70D37EB4700F77345 /* libmp4v2.a */, - A9DB39A90D37EB4700F77345 /* libmpeg2convert.a */, - A9DB39AA0D37EB4700F77345 /* libogg.a */, - A9DB39AB0D37EB4700F77345 /* libsamplerate.a */, - A9DB39AC0D37EB4700F77345 /* libswscale.a */, - A9DB39AD0D37EB4700F77345 /* libvorbis.a */, - A9DB39AE0D37EB4700F77345 /* libvorbisenc.a */, - A9DB39AF0D37EB4700F77345 /* libvorbisfile.a */, - A9DB39B00D37EB4700F77345 /* libxvidcore.a */, - A9DB39B10D37EB4700F77345 /* libx264.a */, - 4D1125D709D72FD200E0657B /* libz.dylib */, - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, - 4DEB2024052B055F00C39CA9 /* IOKit.framework */, - 29B97325FDCFA39411CA2CEA /* Foundation.framework */, - 29B97324FDCFA39411CA2CEA /* AppKit.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 0DFF0B6E0B6BC6E600549488 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - A9DB39110D37EA0300F77345 /* common.h in Headers */, - A9DB39260D37EA0300F77345 /* hb.h in Headers */, - A9DB39270D37EA0300F77345 /* internal.h in Headers */, - A9DB392A0D37EA0300F77345 /* lang.h in Headers */, - A9DB39310D37EA0300F77345 /* ports.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 0DFF0B710B6BC6E600549488 /* libhandbrake */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0DFF0B730B6BC70400549488 /* Build configuration list for PBXNativeTarget "libhandbrake" */; - buildPhases = ( - 0DFF0B6E0B6BC6E600549488 /* Headers */, - 0DFF0B6F0B6BC6E600549488 /* Sources */, - 0DFF0B700B6BC6E600549488 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = libhandbrake; - productName = libmediafork; - productReference = 0DFF0B720B6BC6E600549488 /* libhandbrake.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - buildConfigurationList = 4D4E7BC4087804870051572B /* Build configuration list for PBXProject "libhandbrake" */; - compatibilityVersion = "Xcode 2.4"; - hasScannedForEncodings = 1; - mainGroup = 29B97314FDCFA39411CA2CEA /* HandBrake */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 0DFF0B710B6BC6E600549488 /* libhandbrake */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 0DFF0B6F0B6BC6E600549488 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A9DB39100D37EA0300F77345 /* common.c in Sources */, - A9DB39120D37EA0300F77345 /* deblock.c in Sources */, - A9DB39140D37EA0300F77345 /* decavcodec.c in Sources */, - A9DB39150D37EA0300F77345 /* decdca.c in Sources */, - A9DB39160D37EA0300F77345 /* declpcm.c in Sources */, - A9DB39180D37EA0300F77345 /* decsub.c in Sources */, - A9DB39190D37EA0300F77345 /* deinterlace.c in Sources */, - A9DB391A0D37EA0300F77345 /* demuxmpeg.c in Sources */, - A9DB391B0D37EA0300F77345 /* denoise.c in Sources */, - A9DB391C0D37EA0300F77345 /* detelecine.c in Sources */, - A9DB391D0D37EA0300F77345 /* dvd.c in Sources */, - A9DB391E0D37EA0300F77345 /* encavcodec.c in Sources */, - A9DB391F0D37EA0300F77345 /* encfaac.c in Sources */, - A9DB39200D37EA0300F77345 /* enclame.c in Sources */, - A9DB39210D37EA0300F77345 /* encvorbis.c in Sources */, - A9DB39220D37EA0300F77345 /* encx264.c in Sources */, - A9DB39230D37EA0300F77345 /* encxvid.c in Sources */, - A9DB39240D37EA0300F77345 /* fifo.c in Sources */, - A9DB39250D37EA0300F77345 /* hb.c in Sources */, - A9DB39280D37EA0300F77345 /* ipodutil.cpp in Sources */, - A9DB39290D37EA0300F77345 /* lang.c in Sources */, - A9DB392B0D37EA0300F77345 /* muxavi.c in Sources */, - A9DB392C0D37EA0300F77345 /* muxcommon.c in Sources */, - A9DB392D0D37EA0300F77345 /* muxmkv.c in Sources */, - A9DB392E0D37EA0300F77345 /* muxmp4.c in Sources */, - A9DB392F0D37EA0300F77345 /* muxogm.c in Sources */, - A9DB39300D37EA0300F77345 /* ports.c in Sources */, - A9DB39320D37EA0300F77345 /* reader.c in Sources */, - A9DB39330D37EA0300F77345 /* render.c in Sources */, - A9DB39340D37EA0300F77345 /* scan.c in Sources */, - A9DB39350D37EA0300F77345 /* stream.c in Sources */, - A9DB39360D37EA0300F77345 /* sync.c in Sources */, - A9DB39370D37EA0300F77345 /* update.c in Sources */, - A9DB39380D37EA0300F77345 /* work.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 0D88F56B0B6CDCD400F81F26 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/"; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../contrib/include"; - INSTALL_PATH = /usr/local/lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", - ); - LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../contrib/lib\""; - MACOSX_DEPLOYMENT_TARGET = 10.3; - OTHER_CFLAGS = ( - "-D__LIBHB__", - "-DSYS_DARWIN", - "$(OTHER_CFLAGS_QUOTED_1)", - "-DUSE_PTHREAD", - ); - OTHER_CFLAGS_QUOTED_1 = "-DHB_VERSION=\\\"0.9.1\\\" -DHB_BUILD=2007100800"; - OTHER_LDFLAGS = ""; - PER_ARCH_CFLAGS_ppc = "-DWORDS_BIGENDIAN"; - PREBINDING = NO; - PRODUCT_NAME = hb; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - ZERO_LINK = NO; - }; - name = Release; - }; - 0D88F56F0B6CDCD400F81F26 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ( - ppc, - i386, - ); - GCC_MODEL_TUNING = G5; - GCC_PREPROCESSOR_DEFINITIONS = "JOB_GROUPS=1"; - IBC_NOTICES = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - }; - name = Release; - }; - 0DFF0B740B6BC70400549488 /* Development */ = { - isa = XCBuildConfiguration; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/"; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../contrib/include"; - INSTALL_PATH = /usr/local/lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", - ); - LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../contrib/lib\""; - MACOSX_DEPLOYMENT_TARGET = 10.3; - OTHER_CFLAGS = ( - "-D__LIBHB__", - "-DSYS_DARWIN", - "$(OTHER_CFLAGS_QUOTED_1)", - "-DUSE_PTHREAD", - ); - OTHER_CFLAGS_QUOTED_1 = "-DHB_VERSION=\\\"0.9.1\\\" -DHB_BUILD=2007100800"; - OTHER_LDFLAGS = ""; - PER_ARCH_CFLAGS_ppc = "-DWORDS_BIGENDIAN"; - PREBINDING = NO; - PRODUCT_NAME = hb; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - ZERO_LINK = NO; - }; - name = Development; - }; - 0DFF0B750B6BC70400549488 /* Deployment */ = { - isa = XCBuildConfiguration; - buildSettings = { - CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/"; - COPY_PHASE_STRIP = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = ""; - HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/../../contrib/include"; - INSTALL_PATH = /usr/local/lib; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", - ); - LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../contrib/lib\""; - MACOSX_DEPLOYMENT_TARGET = 10.3; - OTHER_CFLAGS = ( - "-D__LIBHB__", - "-DSYS_DARWIN", - "$(OTHER_CFLAGS_QUOTED_1)", - "-DUSE_PTHREAD", - ); - OTHER_CFLAGS_QUOTED_1 = "-DHB_VERSION=\\\"0.9.1\\\" -DHB_BUILD=2007100800"; - OTHER_LDFLAGS = ""; - PER_ARCH_CFLAGS_ppc = "-DWORDS_BIGENDIAN"; - PREBINDING = NO; - PRODUCT_NAME = hb; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - STRIP_INSTALLED_PRODUCT = YES; - STRIP_STYLE = all; - ZERO_LINK = NO; - }; - name = Deployment; - }; - 4D4E7BC5087804870051572B /* Development */ = { - isa = XCBuildConfiguration; - buildSettings = { - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_DEBUGGING_SYMBOLS = default; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - IBC_NOTICES = NO; - IBC_WARNINGS = YES; - MACOSX_DEPLOYMENT_TARGET = 10.5; - PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - ZERO_LINK = NO; - }; - name = Development; - }; - 4D4E7BC6087804870051572B /* Deployment */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_AUTO_VECTORIZATION = YES; - GCC_ENABLE_SSE3_EXTENSIONS = YES; - GCC_MODEL_TUNING = G5; - GCC_PREPROCESSOR_DEFINITIONS = "JOB_GROUPS=1"; - IBC_NOTICES = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - SDKROOT = /Developer/SDKs/MacOSX10.5.sdk; - }; - name = Deployment; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0DFF0B730B6BC70400549488 /* Build configuration list for PBXNativeTarget "libhandbrake" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0DFF0B740B6BC70400549488 /* Development */, - 0DFF0B750B6BC70400549488 /* Deployment */, - 0D88F56B0B6CDCD400F81F26 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Deployment; - }; - 4D4E7BC4087804870051572B /* Build configuration list for PBXProject "libhandbrake" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4D4E7BC5087804870051572B /* Development */, - 4D4E7BC6087804870051572B /* Deployment */, - 0D88F56F0B6CDCD400F81F26 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Deployment; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/macosx/InstantHandBrake/main.mm b/macosx/InstantHandBrake/main.mm deleted file mode 100644 index 6705c146d..000000000 --- a/macosx/InstantHandBrake/main.mm +++ /dev/null @@ -1,19 +0,0 @@ -/* $Id: main.mm,v 1.3 2005/11/25 15:04:35 titer Exp $ - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -#include -#import "hb.h" - -void SigHandler( int signal ) -{ - [NSApp terminate: NULL]; -} - -int main( int argc, const char ** argv ) -{ - signal( SIGINT, SigHandler ); - return NSApplicationMain( argc, argv ); -}