Skip to content

Commit

Permalink
improve log line
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh1 committed Nov 13, 2024
1 parent 8b3eac2 commit 4c9fe6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/rtmp2segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (ms *MediaSegmenter) RunSegmentation(in string, segmentHandler SegmentHandl
Muxer: ffmpeg.ComponentOptions{Name: "segment"},
}})
if err != nil {
slog.Error("Failed to run segmentation:", "err", err)
slog.Error("Failed to run segmentation", "in", in, "err", err)
}

Check warning on line 50 in media/rtmp2segment.go

View check run for this annotation

Codecov / codecov/patch

media/rtmp2segment.go#L48-L50

Added lines #L48 - L50 were not covered by tests
completionSignal <- true
slog.Info("sent completion signal, now waiting")
Expand Down

0 comments on commit 4c9fe6b

Please sign in to comment.