Skip to content

Commit

Permalink
libhb: fix hb_log format to correctly print leading zeros for pts sta…
Browse files Browse the repository at this point in the history
…rt and stop times. Fix HandBrake#5646.
  • Loading branch information
galad87 committed Jan 4, 2024
1 parent 0e9e5d3 commit ce96bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libhb/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,14 @@ void hb_display_job_info(hb_job_t *job)

if (job->pts_to_stop)
{
hb_log(" + title %d, start %02d:%02d:%02.2f stop %02d:%02d:%02.2f",
hb_log(" + title %d, start %02d:%02d:%05.2f stop %02d:%02d:%05.2f",
title->index,
hr_start, min_start, sec_start,
hr_stop, min_stop, sec_stop);
}
else
{
hb_log(" + title %d, start %02d:%02d:%02.2f",
hb_log(" + title %d, start %02d:%02d:%05.2f",
title->index,
hr_start, min_start, sec_start);
}
Expand Down

0 comments on commit ce96bc5

Please sign in to comment.