]> granicus.if.org Git - handbrake/commitdiff
MacGui: Add some temporary activity log messages to try to debug the new queue
authordynaflash <dynaflashtech@gmail.com>
Wed, 17 Sep 2008 18:34:08 +0000 (18:34 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Wed, 17 Sep 2008 18:34:08 +0000 (18:34 +0000)
- 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

index 2f719d3f2a7d4a393d4dae1207427f5197ac310f..ce7950343bd1f6736f3e84d7a6f62cd301c43ddf 100644 (file)
@@ -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"];    
 }