From 8df837ee4915f85f095b06670a3d30ae99dce02c Mon Sep 17 00:00:00 2001 From: Saxon Date: Tue, 1 Oct 2019 20:47:03 +0930 Subject: [PATCH] revid/senders_test.go: turning package based PSI sending on for TestMtsSenderDiscontinuity to fix hanging bug --- revid/senders_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }