]> granicus.if.org Git - handbrake/commitdiff
work: add log to track work object shutdown
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 18 May 2016 16:35:25 +0000 (10:35 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 18 May 2016 16:35:25 +0000 (10:35 -0600)
libhb/work.c

index 858f69940f4b86f58819c70193998c4584a9cba5..00573fce12b47ab979ac30528a102aeaa24d4bd0 100644 (file)
@@ -1907,6 +1907,7 @@ void hb_work_loop( void * _w )
     // Consume data in incoming fifo till job completes so that
     // residual data does not stall the pipeline. There can be
     // residual data during point-to-point encoding.
+    hb_deep_log(3, "worker %s waiting to die", w->name);
     while ((w->die == NULL || !*w->die) &&
            !*w->done && w->fifo_in != NULL)
     {