Skip to content

Commit

Permalink
segmenter: Fix segment sent on sendSegment function (#166)
Browse files Browse the repository at this point in the history
Really simply mistake, mah bad.
  • Loading branch information
victorges authored Jun 14, 2022
1 parent f4e2ef6 commit e94b1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testers/segmenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e94b1bc

Please sign in to comment.