mirror of https://bitbucket.org/ausocean/av.git
Rate limit TestFromFrame output to 25 FPS.
This commit is contained in:
parent
3c83ba0022
commit
e6504734d0
|
@ -172,6 +172,7 @@ func TestFromFrame(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Errorf("Encoding failed with error: %v", err)
|
||||
}
|
||||
time.Sleep(40 * time.Millisecond) // rate limit to 1/25s
|
||||
}
|
||||
|
||||
err = s.Close()
|
||||
|
|
Loading…
Reference in New Issue