From fc83d1358778a65830db058a337c07aa2aa1c4eb Mon Sep 17 00:00:00 2001 From: dynaflash Date: Wed, 17 Sep 2008 17:01:14 +0000 Subject: 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 --- macosx/Controller.mm | 4 +--- 1 file changed, 1 insertion(+), 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] )]; } -- cgit v1.2.3