From bd1af8b681fb9f5cbd5567e85a2bde8a2b5cfb83 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Wed, 17 Sep 2008 18:34:08 +0000 Subject: [PATCH] MacGui: Add some temporary activity log messages to try to debug the new queue - with any luck I can get rid of these down the road git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1713 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 2f719d3f2..ce7950343 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2345,10 +2345,11 @@ fWorkingCount = 0; NSMutableDictionary * queueToApply = [QueueFileArray objectAtIndex:currentQueueEncodeIndex]; [self writeToActivityLog: "processNewQueueEncode currentQueueEncodeIndex is: %d", currentQueueEncodeIndex]; + [self writeToActivityLog: "processNewQueueEncode number of passes expected is: %d", ([[queueToApply objectForKey:@"VideoTwoPass"] intValue] + 1)]; job->file = [[queueToApply objectForKey:@"DestinationPath"] UTF8String]; - + [self writeToActivityLog: "processNewQueueEncode sending to prepareJob"]; [self prepareJob]; - + [self writeToActivityLog: "processNewQueueEncode back from prepareJob"]; if( [[queueToApply objectForKey:@"SubtitlesForced"] intValue] == 1 ) job->subtitle_force = 1; else @@ -2445,7 +2446,7 @@ fWorkingCount = 0; hb_title_t * title = (hb_title_t *) hb_list_item( list,0 ); // is always zero since now its a single title scan hb_job_t * job = title->job; hb_audio_config_t * audio; - + [self writeToActivityLog: "prepareJob reached"]; /* Chapter selection */ job->chapter_start = [[queueToApply objectForKey:@"JobChapterStart"] intValue]; job->chapter_end = [[queueToApply objectForKey:@"JobChapterEnd"] intValue]; @@ -2734,7 +2735,7 @@ fWorkingCount = 0; { hb_list_add( job->filters, &hb_filter_deblock ); } - +[self writeToActivityLog: "prepareJob exiting"]; } -- 2.40.0