Rate limit TestFromFrame output to 25 FPS.

This commit is contained in:
scruzin 2019-01-10 21:22:00 +10:30
parent 3c83ba0022
commit e6504734d0
1 changed files with 1 additions and 0 deletions

View File

@ -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()