diff options
author | dynaflash <[email protected]> | 2008-09-17 17:01:14 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-09-17 17:01:14 +0000 |
commit | fc83d1358778a65830db058a337c07aa2aa1c4eb (patch) | |
tree | df3c26bdad4123118189491b234188f18f08be65 | |
parent | 148f47ad1531f447cf44d931944fb467137b493c (diff) |
MacGui: Fix crash when selecting between target size and abr.
- calculateBitrate shouldn't need nor can it any longer use prepareJob
- should still verify proper calcs for target bitrate and abr, but better not to crash.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1711 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.mm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 5072e6136..2f719d3f2 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -3455,9 +3455,7 @@ the user is using "Custom" settings by determining the sender*/ hb_title_t * title = (hb_title_t *) hb_list_item( list, [fSrcTitlePopUp indexOfSelectedItem] ); hb_job_t * job = title->job; - - [self prepareJob]; - + [fVidBitrateField setIntValue: hb_calc_bitrate( job, [fVidTargetSizeField intValue] )]; } |