diff --git a/revid/senders_test.go b/revid/senders_test.go index 951276ee..80b18746 100644 --- a/revid/senders_test.go +++ b/revid/senders_test.go @@ -309,7 +309,7 @@ func TestMtsSenderDiscontinuity(t *testing.T) { // Create destination, the mtsSender and the mtsEncoder. const clipToDelay = 3 dst := &destination{t: t, sendDelay: 10 * time.Millisecond, delayAt: clipToDelay, done: make(chan struct{})} - rb, err := vring.NewBuffer(1, rbCapacity, 0) + rb, err := vring.NewBuffer(1, rbCapacity, 10*time.Millisecond) if err != nil { t.Fatalf("could not initialise ring buffer: %v", err) }