diff options
author | dynaflash <[email protected]> | 2007-01-08 17:06:39 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-01-08 17:06:39 +0000 |
commit | fa116cfe1e59bba16d9de76a0e39f401a2d91d5c (patch) | |
tree | f5885884580e3c90f90eff373e32de788399cefb | |
parent | 18189c197f5d5e04e8e8cd37de0caedb1a469a38 (diff) |
Revert HB mac gui to m0k layout for impending 0.7.2 release.
Note: pri's language default combobox is also gone in this reversion for the preferences window. However, the underlying code for it is still retained in controller.mm.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@99 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.mm | 16 | ||||
-rw-r--r-- | macosx/English.lproj/MainMenu.nib/classes.nib | 3 | ||||
-rw-r--r-- | macosx/English.lproj/MainMenu.nib/info.nib | 12 | ||||
-rw-r--r-- | macosx/English.lproj/MainMenu.nib/keyedobjects.nib | bin | 57571 -> 56345 bytes | |||
-rw-r--r-- | macosx/HandBrake.xcodeproj/project.pbxproj | 4 |
5 files changed, 17 insertions, 18 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index a2e872a64..bd23c888d 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -303,11 +303,8 @@ static int FormatSettings[3][4] = stringWithFormat: @"%d - %02dh%02dm%02ds", title->index, title->hours, title->minutes, title->seconds]]; - - - - } + } [self TitlePopUpChanged: NULL]; [self EnableUI: YES]; @@ -597,13 +594,17 @@ static int FormatSettings[3][4] = } if( job->vcodec & HB_VCODEC_X264 ) { - if ([fVidEncoderPopUp indexOfSelectedItem] < 1 ) + if ([fVidEncoderPopUp indexOfSelectedItem] > 0 ) { /* Just use new Baseline Level 3.0 Lets Deprecate Baseline Level 1.3*/ job->h264_level = 30; job->mux = HB_MUX_IPOD; } + + /* Set this flag to switch from Constant Quantizer(default) to Constant Rate Factor */ + // job->crf = 1; + job->h264_13 = [fVidEncoderPopUp indexOfSelectedItem]; } @@ -944,8 +945,9 @@ static int FormatSettings[3][4] = { /* MPEG-4 -> H.264 */ [fVidEncoderPopUp removeAllItems]; - [fVidEncoderPopUp addItemWithTitle: @"x264 (h.264 Baseline iPod)"]; - [fVidEncoderPopUp addItemWithTitle: @"x264 (h.264 Main)"]; + [fVidEncoderPopUp addItemWithTitle: @"x264 (h.264 Main)"]; + [fVidEncoderPopUp addItemWithTitle: @"x264 (h.264 iPod)"]; + } else if( ( FormatSettings[format][codecs] & HB_VCODEC_FFMPEG ) ) diff --git a/macosx/English.lproj/MainMenu.nib/classes.nib b/macosx/English.lproj/MainMenu.nib/classes.nib index 8c19d8c28..59629f07f 100644 --- a/macosx/English.lproj/MainMenu.nib/classes.nib +++ b/macosx/English.lproj/MainMenu.nib/classes.nib @@ -1,5 +1,6 @@ { IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, { ACTIONS = { AddToQueue = id; @@ -135,7 +136,7 @@ ACTIONS = {CheckChanged = id; ClosePanel = id; OpenPanel = id; }; CLASS = PrefsController; LANGUAGE = ObjC; - OUTLETS = {fPanel = NSPanel; fUpdateCheck = NSButton; fdefaultlanguage = NSComboBox; }; + OUTLETS = {fPanel = NSPanel; fUpdateCheck = NSButton; }; SUPERCLASS = NSObject; }, { diff --git a/macosx/English.lproj/MainMenu.nib/info.nib b/macosx/English.lproj/MainMenu.nib/info.nib index 9bc9b61c2..36f69f000 100644 --- a/macosx/English.lproj/MainMenu.nib/info.nib +++ b/macosx/English.lproj/MainMenu.nib/info.nib @@ -3,19 +3,15 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>36 281 376 264 0 0 1440 878 </string> + <string>73 30 382 380 0 0 1440 878 </string> <key>IBEditorPositions</key> <dict> <key>29</key> - <string>69 330 261 44 0 0 1440 878 </string> + <string>157 764 261 44 0 0 1280 832 </string> </dict> <key>IBFramework Version</key> - <string>446.1</string> - <key>IBOpenObjects</key> - <array> - <integer>1438</integer> - </array> + <string>443.0</string> <key>IBSystem Version</key> - <string>8L2127</string> + <string>8I127</string> </dict> </plist> diff --git a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib Binary files differindex f4cb07ffb..be6d9b1c3 100644 --- a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib +++ b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib diff --git a/macosx/HandBrake.xcodeproj/project.pbxproj b/macosx/HandBrake.xcodeproj/project.pbxproj index 2ba0a1ba3..beb466526 100644 --- a/macosx/HandBrake.xcodeproj/project.pbxproj +++ b/macosx/HandBrake.xcodeproj/project.pbxproj @@ -49,7 +49,7 @@ 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 4D1125D709D72FD200E0657B /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = /usr/lib/libz.dylib; sourceTree = "<absolute>"; }; 4D118405053054CD00C39CA9 /* HandBrake.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = HandBrake.icns; sourceTree = "<group>"; }; - 4D1EA2DA0993B01000FDC1A2 /* Instant HandBrake.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "Instant HandBrake.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 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 = "<group>"; }; 4D1EA3000993B13700FDC1A2 /* Express.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Express.nib; path = English.lproj/Express.nib; sourceTree = "<group>"; }; 4D1EA31A0993B24700FDC1A2 /* ExpressController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ExpressController.h; sourceTree = "<group>"; }; @@ -66,7 +66,7 @@ 4D86C74F07281F4E007BA979 /* ScanController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ScanController.h; sourceTree = "<group>"; }; 4DD27BA507C0065C0023D231 /* QueueController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = QueueController.h; sourceTree = "<group>"; }; 4DD27BA607C0065C0023D231 /* QueueController.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = QueueController.mm; sourceTree = "<group>"; }; - 4DD93FA6082036E8008E1322 /* HandBrake.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HandBrake.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4DD93FA6082036E8008E1322 /* HandBrake.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = HandBrake.app; sourceTree = BUILT_PRODUCTS_DIR; }; 4DDE9724052B7B2B00C39CA9 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; }; 4DE09E62082038A400FB751F /* HandBrake.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; path = HandBrake.plist; sourceTree = "<group>"; }; 4DE93A3507F5A2C900F3C78F /* PrefsController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PrefsController.h; sourceTree = "<group>"; }; |