diff options
author | dynaflash <[email protected]> | 2007-07-31 14:52:37 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-07-31 14:52:37 +0000 |
commit | 4c4045f21dceb007b5bc66f997156a4ffbfb975e (patch) | |
tree | 50b50eff43cf6e3d21f5c778c407ce9ca3e46752 /macosx/PictureController.mm | |
parent | cae08384433649c989276968854bee9045b619ee (diff) |
MacGui: Enhanced Picture Settings in Presets (esp. cropping)
When creating a preset, three choices exist for picture settings:
- None: Preset has no effect on any picture settings
- Current: Preset will apply whatever picture settings were in effect at the time the preset was created (including deinterlace, par and *cropping)
- Source Maximum (post scan): Preset will apply the maximum picture settings for each source and auto crop (basically the same picture settings that were in effect right after the source scan and nothing was modified with auto cropping enabled) Anamorphic and Deinterlace will be set according to general preferences
- * Note on cropping with Current set for preset: If cropping was set to "Auto" at the time the preset was created, the preset will then use the sources auto crop values. If, however the cropping was set to "Custom" at the time the preset was created the preset will apply the custom cropping values to each source from when the preset was created.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@765 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r-- | macosx/PictureController.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index 30d7fae3c..fb664a575 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -90,6 +90,15 @@ static int GetAlignedSize( int size ) if ([fAutoCropMainWindow intValue] == 0) { [fCropMatrix selectCellAtRow: 1 column:0]; + /* If auto, lets set the crop steppers according to current job->crop values */ + [fCropTopStepper setIntValue: job->crop[0]]; + [fCropTopField setIntValue: job->crop[0]]; + [fCropBottomStepper setIntValue: job->crop[1]]; + [fCropBottomField setIntValue: job->crop[1]]; + [fCropLeftStepper setIntValue: job->crop[2]]; + [fCropLeftField setIntValue: job->crop[2]]; + [fCropRightStepper setIntValue: job->crop[3]]; + [fCropRightField setIntValue: job->crop[3]]; } else { |