diff --git a/internal/testers/segmenter.go b/internal/testers/segmenter.go index e61bfbef..ff89f377 100644 --- a/internal/testers/segmenter.go +++ b/internal/testers/segmenter.go @@ -141,7 +141,7 @@ func segmentingLoop(ctx context.Context, fileName string, inFileReal av.DemuxClo sendSegment := func(seg *model.HlsSegment) bool { select { - case out <- &model.HlsSegment{Err: err}: + case out <- seg: return true case <-ctx.Done(): return false