revid/senders_test.go: turning package based PSI sending on for TestMtsSenderDiscontinuity to fix hanging bug

This commit is contained in:
Saxon 2019-10-01 20:47:03 +09:30
parent 4e45dee4ac
commit 8df837ee49
1 changed files with 1 additions and 1 deletions

View File

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