diff options
author | dynaflash <[email protected]> | 2008-05-19 15:11:08 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-05-19 15:11:08 +0000 |
commit | 85132e6b2b67358847ea14fc255dde28a3aa8733 (patch) | |
tree | f1dcb357cd3792377edc153aaa9c468ccd92951e /macosx/Controller.mm | |
parent | ebd11b3e862751dd90e5110a8624d942e62b0c96 (diff) |
MacGui: For VFR set the frame rate to the title frame rate (Same as Source) and disable the frame rate popup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1466 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 449182106..b077d8b77 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2695,12 +2695,17 @@ the user is using "Custom" settings by determining the sender*/ /* VFR (Variable Frame Rate) */ if ([fPictureController vfr]) { /* We change the string of the fps popup to warn that vfr is on Framerate (FPS): */ - [fVidRateField setStringValue: @"Framerate (VFR On):"]; + [fVidRateField setStringValue: @"Framerate (VFR On):"]; + /* for VFR we select same as source (or title framerate) and disable the popup. + * We know its index 0 as that is determined in titlePopUpChanged */ + [fVidRatePopUp selectItemAtIndex: 0]; + [fVidRatePopUp setEnabled: NO]; } else { /* make sure the label for framerate is set to its default */ [fVidRateField setStringValue: @"Framerate (FPS):"]; + [fVidRatePopUp setEnabled: YES]; } /* Deinterlace */ |