]> granicus.if.org Git - handbrake/commitdiff
Revert HB mac gui to m0k layout for impending 0.7.2 release.
authordynaflash <dynaflashtech@gmail.com>
Mon, 8 Jan 2007 17:06:39 +0000 (17:06 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Mon, 8 Jan 2007 17:06:39 +0000 (17:06 +0000)
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

macosx/Controller.mm
macosx/English.lproj/MainMenu.nib/classes.nib
macosx/English.lproj/MainMenu.nib/info.nib
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
macosx/HandBrake.xcodeproj/project.pbxproj

index a2e872a64a1f5e141f52e1efc9bac6275caf8144..bd23c888d494433fee6264631c60a1fbfe9adaad 100644 (file)
@@ -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 ) )
index 8c19d8c283a2808d18e0eea54e7c4be8d40125cd..59629f07fb970e3dcd87002d262805ed5fc3c096 100644 (file)
@@ -1,5 +1,6 @@
 {
     IBClasses = (
+        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
         {
             ACTIONS = {
                 AddToQueue = id; 
             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; 
         }, 
         {
index 9bc9b61c2c26576c2e95d06cac4ed5830ab91716..36f69f00043588a41bf696cf05e295383d95686b 100644 (file)
@@ -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>
index f4cb07ffba2f61f96b0a226ce3854387a2971f3a..be6d9b1c3c4c913da291f85ab1533cbc53060a83 100644 (file)
Binary files a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib and b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib differ
index 2ba0a1ba3b2b33721122c3281851875ff1fef166..beb466526bf75b9023399222dc42b6de5957583c 100644 (file)
@@ -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>"; };