diff options
author | dynaflash <[email protected]> | 2008-09-17 19:02:49 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-09-17 19:02:49 +0000 |
commit | 442446f247244be86aa7ec5fea612e9cd322221f (patch) | |
tree | e76a466ec1ecd01d4be6f84b9bdd28fa4ff807f0 /macosx | |
parent | bd1af8b681fb9f5cbd5567e85a2bde8a2b5cfb83 (diff) |
MacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
- also added a few more debugging messages to prepareJob until things cool down a bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1714 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index ce7950343..2e1b30fa3 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2520,7 +2520,7 @@ fWorkingCount = 0; NSString *firstPassOptStringTurbo = @":ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0"; /* append the "Turbo" string variable to the existing opts string. Note: the "Turbo" string must be appended, not prepended to work properly*/ - NSString *firstPassOptStringCombined = [[[queueToApply objectForKey:@"x264Option"] stringValue] stringByAppendingString:firstPassOptStringTurbo]; + NSString *firstPassOptStringCombined = [[queueToApply objectForKey:@"x264Option"] stringByAppendingString:firstPassOptStringTurbo]; strcpy(job->x264opts, [firstPassOptStringCombined UTF8String]); } else @@ -2530,6 +2530,8 @@ fWorkingCount = 0; } + + [self writeToActivityLog: "prepareJob reached Picture Settings"]; /* Picture Size Settings */ job->width = [[queueToApply objectForKey:@"PictureWidth"] intValue]; job->height = [[queueToApply objectForKey:@"PictureHeight"] intValue]; @@ -2544,6 +2546,8 @@ fWorkingCount = 0; job->crop[2] = [[queueToApply objectForKey:@"PictureLeftCrop"] intValue]; job->crop[3] = [[queueToApply objectForKey:@"PictureRightCrop"] intValue]; + [self writeToActivityLog: "prepareJob reached Frame Rate"]; + /* Video settings */ if( [[queueToApply objectForKey:@"JobIndexVideoFramerate"] intValue] > 0 ) { @@ -2562,7 +2566,7 @@ fWorkingCount = 0; * to enable true same as source framerate */ job->cfr = 0; } - + [self writeToActivityLog: "prepareJob reached Bitrate Video Quality"]; if ( [[queueToApply objectForKey:@"VideoQualityType"] intValue] == 0 ) { /* Target size. @@ -2585,6 +2589,7 @@ fWorkingCount = 0; /* Subtitle settings */ job->subtitle = [[queueToApply objectForKey:@"JobSubtitlesIndex"] intValue] - 2; + [self writeToActivityLog: "prepareJob reached Audio"]; /* Audio tracks and mixdowns */ /* Lets make sure there arent any erroneous audio tracks in the job list, so lets make sure its empty*/ int audiotrack_count = hb_list_count(job->list_audio); @@ -2673,7 +2678,8 @@ fWorkingCount = 0; job->vfr = 0; } - /* Filters */ + [self writeToActivityLog: "prepareJob reached Filters"]; + /* Filters */ job->filters = hb_list_init(); /* Now lets call the filters if applicable. |