1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 11:28:51 +02:00

use time.Second to wait for 5s

This commit is contained in:
Alexandre Iooss
2020-10-04 20:52:23 +02:00
parent f3d38dc10d
commit 708501c5c8
2 changed files with 5 additions and 13 deletions

View File

@ -76,7 +76,7 @@ func TestForwardStream(t *testing.T) {
}
}()
time.Sleep(5000000000) // Delay is in nanoseconds, here 5s
time.Sleep(5 * time.Second) // Delay is in nanoseconds, here 5s
// FIXME
//if ffmpegInputStreams["demo"] == nil {