OSDN Git Service

Removed all references to the old job->surround variable, as it is no longer used...
authormaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 18 Apr 2007 09:03:46 +0000 (09:03 +0000)
committermaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 18 Apr 2007 09:03:46 +0000 (09:03 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@523 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.h
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/PrefsController.h
macosx/PrefsController.m

index e78f71b..b9376cd 100644 (file)
@@ -190,12 +190,6 @@ struct hb_job_s
     int             audios[8];
        int             audio_mixdowns[8];
 
-       /* this "surround" property will be removed shortly,
-       as soon as the AMIXDOWN code has been integrated into the Mac GUI
-       it's still included here to avoid breaking the Mac GUI short-term
-       however, it won't be applied in deca52.c etc. any more */
-       int             surround;
-
     /* Audio settings:
          acodec:   output codec
          abitrate: output bitrate (kbps)
index 6041ae7..36cdac5 100644 (file)
@@ -1373,9 +1373,6 @@ static int FormatSettings[3][4] =
                 
                 }
 
-               /* uncheck the "export 5.1 as 6-channel AAC" checkbox if it is checked */
-//             [fAudLang1SurroundCheck setState: NSOffState];
-
        }
     
        [self CalculatePictureSizing: sender];
index bc5e685..6205a2d 100644 (file)
             LANGUAGE = ObjC; 
             OUTLETS = {
                 fDefAdvancedx264FlagsView = NSButton; 
-                fDefAudioSurround = NSButton; 
                 fDefAutoNaming = NSButton; 
                 fDefChapterMarkers = NSButton; 
                 fDefCrf = NSButton; 
index 91b113a..5ec8a74 100644 (file)
@@ -9,7 +9,7 @@
                <key>1843</key>
                <string>610 276 220 592 0 0 1440 878 </string>
                <key>29</key>
-               <string>11 834 365 44 0 0 1440 878 </string>
+               <string>16 1134 365 44 0 0 1920 1178 </string>
        </dict>
        <key>IBFramework Version</key>
        <string>446.1</string>
@@ -19,8 +19,9 @@
        </array>
        <key>IBOpenObjects</key>
        <array>
-               <integer>29</integer>
+               <integer>1438</integer>
                <integer>1867</integer>
+               <integer>29</integer>
        </array>
        <key>IBSystem Version</key>
        <string>8P2137</string>
index ef298fa..be60a38 100644 (file)
Binary files a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib and b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib differ
index 2b0c0c1..2d298a5 100644 (file)
@@ -12,7 +12,6 @@
        IBOutlet NSButton * fDefDeinterlace;
        IBOutlet NSButton * fDefPicSizeAutoSetipod;
        IBOutlet NSButton * fDefPixelRatio;
-       IBOutlet NSButton * fDefAudioSurround;
        IBOutlet NSButton * fDefPresetDrawerShow;
        IBOutlet NSButton * fDefAutoNaming;
        IBOutlet NSButton * fDefChapterMarkers;
index 9ce0243..4c9121e 100644 (file)
@@ -24,8 +24,6 @@
                    forKey:@"DefaultPicSizeAutoiPod"];
        appDefaults = [NSDictionary dictionaryWithObject:@"NO"
                    forKey:@"PixelRatio"];
-          appDefaults = [NSDictionary dictionaryWithObject:@"NO"
-                   forKey:@"DefaultSurroundSound"];
        appDefaults = [NSDictionary dictionaryWithObject:@""
                    forKey:@"DefAdvancedx264Flags"];
        appDefaults = [NSDictionary dictionaryWithObject:@"YES"
     [fDefPixelRatio setState: [defaults boolForKey:@"PixelRatio"] ?
                                  NSOnState : NSOffState];
        
-       /* fDefAudioSurround Check or uncheck according to the preferences */
-    [fDefAudioSurround setState: [defaults boolForKey:@"DefaultSurroundSound"] ?
-                                        NSOnState : NSOffState];
-               
        /* Insert default DefAdvanced x264 Flag here */
        if ([defaults stringForKey:@"DefAdvancedx264Flags"]!=NULL)
        {
         [defaults setObject:@"NO" forKey:@"PixelRatio"];
     }
  
-  
-        /* Use Surround Sound if available*/
-       
-       if( [fDefAudioSurround state] == NSOnState )
-    {
-        [defaults setObject:@"YES" forKey:@"DefaultSurroundSound"];
-    }
-    else
-    {
-        [defaults setObject:@"NO" forKey:@"DefaultSurroundSound"];
-    }  
-    
                
        /*Advanced x264 Flag string into */
       [defaults setObject:[fDefAdvancedx264FlagsView string]  forKey:@"DefAdvancedx264Flags"];