mirror of https://bitbucket.org/ausocean/av.git
Removed some more use of debug flag in revid
This commit is contained in:
parent
0145d11b59
commit
eb3f6a82d9
|
@ -309,7 +309,7 @@ func (r *revidInst) output() {
|
||||||
}
|
}
|
||||||
now = time.Now()
|
now = time.Now()
|
||||||
deltaTime := now.Sub(prevTime)
|
deltaTime := now.Sub(prevTime)
|
||||||
if r.config.Debug && deltaTime > time.Duration(bitrateTime)*time.Second {
|
if deltaTime > time.Duration(bitrateTime)*time.Second {
|
||||||
fmt.Printf("Bitrate: %v bytes/s\n", int64(float64(bytes) / float64(deltaTime/1e9)))
|
fmt.Printf("Bitrate: %v bytes/s\n", int64(float64(bytes) / float64(deltaTime/1e9)))
|
||||||
prevTime = now
|
prevTime = now
|
||||||
bytes = 0
|
bytes = 0
|
||||||
|
|
Loading…
Reference in New Issue