Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy B. Terriberry
rav1e
Commits
c9df3472
Commit
c9df3472
authored
Jun 08, 2019
by
Timothy B. Terriberry
Committed by
Derek Buitenhuis
Jun 11, 2019
Browse files
Fix bitrate display.
"kb/s" in communication always means 1000 b/s.
parent
dc7d8b81
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/common.rs
View file @
c9df3472
...
...
@@ -704,7 +704,7 @@ impl fmt::Display for ProgressInfo {
self
.frames_encoded
(),
total_frames
,
self
.encoding_fps
(),
self
.bitrate
()
as
f64
/
10
24
f64
,
self
.bitrate
()
as
f64
/
10
00
f64
,
self
.estimated_size
()
as
f64
/
(
1024
*
1024
)
as
f64
,
self
.estimated_time
()
)
...
...
@@ -714,7 +714,7 @@ impl fmt::Display for ProgressInfo {
"encoded {} frames, {:.3} fps, {:.2} Kb/s"
,
self
.frames_encoded
(),
self
.encoding_fps
(),
self
.bitrate
()
as
f64
/
10
24
f64
self
.bitrate
()
as
f64
/
10
00
f64
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment