diff options
author | dynaflash <[email protected]> | 2010-01-04 17:15:08 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-01-04 17:15:08 +0000 |
commit | 8113fe2b558b8c7c3943354a2cd298b883af7d09 (patch) | |
tree | f985e29a987c5b7e65557fbb82362267335dcfd6 /macosx | |
parent | 6dc97cb21609a6b4c2773848f0a56a69b58f4004 (diff) |
MacGui: Fix source duration display format when using time or frame based encoding.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3054 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 9788834ef..8f4364cd0 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -4564,7 +4564,7 @@ bool one_burned = FALSE; int duration = [fSrcTimeEndEncodingField intValue] - [fSrcTimeStartEncodingField intValue]; [fSrcDuration2Field setStringValue: [NSString stringWithFormat: - @"%02lld:%02lld:%02lld", duration / 3600, ( duration / 60 ) % 60, + @"%02d:%02d:%02d", duration / 3600, ( duration / 60 ) % 60, duration % 60]]; //[self calculateBitrate: sender]; @@ -4579,7 +4579,7 @@ bool one_burned = FALSE; int duration = ([fSrcFrameEndEncodingField intValue] - [fSrcFrameStartEncodingField intValue]) / (title->rate / title->rate_base); [fSrcDuration2Field setStringValue: [NSString stringWithFormat: - @"%02lld:%02lld:%02lld", duration / 3600, ( duration / 60 ) % 60, + @"%02d:%02d:%02d", duration / 3600, ( duration / 60 ) % 60, duration % 60]]; //[self calculateBitrate: sender]; |