diff --git a/revid/senders_test.go b/revid/senders_test.go index e6a39c7a..0475dfba 100644 --- a/revid/senders_test.go +++ b/revid/senders_test.go @@ -297,7 +297,7 @@ func TestMtsSenderDiscontinuity(t *testing.T) { sender := newMtsSender(dst, (*dummyLogger)(t).log, ring.NewBuffer(1, defaultMTSRBElementSize, 0), 0) const psiSendCount = 10 - encoder, err := mts.NewEncoder(sender, 25, mts.EncodeH264) + encoder, err := mts.NewEncoder(sender, 25, mts.EncodeH264, mts.PacketBasedPSI(psiSendCount)) if err != nil { t.Fatalf("could not create MTS encoder, failed with error: %v", err) }