summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 01507e6de..bb4cfc7f7 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -811,6 +811,12 @@ static void do_job( hb_job_t * job, int cpu_count )
w->close( w );
free( w );
+ hb_handle_t * h = job->h;
+ hb_state_t state;
+ hb_get_state( h, &state );
+
+ hb_log("work: average encoding speed for job is %f fps", state.param.working.rate_avg);
+
cleanup:
/* Stop the write thread (thread_close will block until the muxer finishes) */
if( job->muxer != NULL )