From 6affb8475cbf438da4ee2a6ac218295f63d8414c Mon Sep 17 00:00:00 2001 From: dynaflash Date: Thu, 10 Jul 2008 15:52:45 +0000 Subject: MacGui: Remove scanned source framrate display from "Same as source" in the fps popup. - Some feel this is misleading and shouldn't be there since same as source now uses true source frame durations. - made the fps and encoder popups narrower to fit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1561 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 23 +++++------------------ macosx/English.lproj/MainMenu.xib | 20 ++++++++------------ 2 files changed, 13 insertions(+), 30 deletions(-) (limited to 'macosx') diff --git a/macosx/Controller.mm b/macosx/Controller.mm index cec1fd19f..42bd48d8e 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2226,25 +2226,12 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It [self audioTrackPopUpChanged: fAudLang3PopUp]; [self audioTrackPopUpChanged: fAudLang4PopUp]; - /* We repopulate the Video Framerate popup and show the detected framerate along with "Same as Source"*/ + /* We repopulate the Video Framerate popup */ + [fVidRatePopUp removeAllItems]; - if (fTitle->rate_base == 1126125) // 23.976 NTSC Film - { - [fVidRatePopUp addItemWithTitle: @"Same as source (23.976)"]; - } - else if (fTitle->rate_base == 1080000) // 25 PAL Film/Video - { - [fVidRatePopUp addItemWithTitle: @"Same as source (25)"]; - } - else if (fTitle->rate_base == 900900) // 29.97 NTSC Video - { - [fVidRatePopUp addItemWithTitle: @"Same as source (29.97)"]; - } - else - { - /* if none of the common dvd source framerates is detected, just use "Same as source" */ - [fVidRatePopUp addItemWithTitle: @"Same as source"]; - } + + [fVidRatePopUp addItemWithTitle:@"Same as source"]; + for( int i = 0; i < hb_video_rates_count; i++ ) { if ([[NSString stringWithCString: hb_video_rates[i].string] isEqualToString: [NSString stringWithFormat: @"%.3f",23.976]]) diff --git a/macosx/English.lproj/MainMenu.xib b/macosx/English.lproj/MainMenu.xib index 3c46b511f..75e1d609b 100644 --- a/macosx/English.lproj/MainMenu.xib +++ b/macosx/English.lproj/MainMenu.xib @@ -2,14 +2,13 @@ 1050 - 9D34 + 9E17 670 949.33 352.00 YES - - + YES @@ -649,7 +648,7 @@ 256 - {{123, 229}, {198, 22}} + {{123, 229}, {168, 22}} YES @@ -751,7 +750,7 @@ 256 - {{123, 254}, {198, 22}} + {{123, 254}, {168, 22}} YES @@ -4030,7 +4029,7 @@ - + 256 YES @@ -4135,7 +4134,6 @@ {{1, 1}, {247, 506}} - 4 @@ -4163,7 +4161,6 @@ {{4, 31}, {260, 508}} - 18 @@ -4295,7 +4292,6 @@ {270, 550} - NSView NSResponder @@ -10926,7 +10922,7 @@ com.apple.InterfaceBuilder.CocoaPlugin - {{643, 319}, {270, 550}} + {{454, 306}, {270, 550}} com.apple.InterfaceBuilder.CocoaPlugin @@ -11019,10 +11015,10 @@ com.apple.InterfaceBuilder.CocoaPlugin - {{80, 445}, {760, 550}} + {{40, 306}, {760, 550}} com.apple.InterfaceBuilder.CocoaPlugin - {{80, 445}, {760, 550}} + {{40, 306}, {760, 550}} {{65, 541}, {760, 550}} -- cgit v1.2.3