summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-05-30 20:35:16 +0000
committerRodeo <[email protected]>2013-05-30 20:35:16 +0000
commitef4e648bd9d055b840c1914fec7d6d08b3038c1e (patch)
treeabdbc9f5550d7b11f8af3ffebcccb2dde893c749 /libhb
parentfd0e9f80450745962e96b60282f8f1070d3f093f (diff)
hb_display_job_info: improve formatting of start and stop times.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5533 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/work.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 1e05c9db7..6fece5167 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -179,9 +179,10 @@ void hb_display_job_info(hb_job_t *job)
sec_stop = (float)stop / 90000.0 - min_stop * 60;
min_stop %= 60;
- hb_log( " + title %d, start %d:%d:%.2f stop %d:%d:%.2f", title->index,
- hr_start, min_start, sec_start,
- hr_stop, min_stop, sec_stop);
+ hb_log(" + title %d, start %02d:%02d:%02.2f stop %02d:%02d:%02.2f",
+ title->index,
+ hr_start, min_start, sec_start,
+ hr_stop, min_stop, sec_stop);
}
else if( job->frame_to_start || job->frame_to_stop )
{