summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-07-10 15:52:45 +0000
committerdynaflash <[email protected]>2008-07-10 15:52:45 +0000
commit6affb8475cbf438da4ee2a6ac218295f63d8414c (patch)
tree2d8f4da07159e94c6d3e09a0e53a744bd1cd378a /macosx/Controller.mm
parent042752cc2bb11a837234ef30088b61be78af273c (diff)
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
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm23
1 files changed, 5 insertions, 18 deletions
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]])