Skip to content

Commit

Permalink
record-tester: Do not log msg as fatal if ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Apr 12, 2022
1 parent aeab7b9 commit b8387e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testers/m3utester2.go
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ func (ms *m3uMediaStream) workerLoop(masterDR chan *downloadResult, latencyResul
if dres.videoParseError != nil {
msg := fmt.Sprintf("Error parsing video segment: %v (dres=%+v)", dres.videoParseError, dres)
if IgnoreNoCodecError && (errors.Is(dres.videoParseError, jerrors.ErrNoAudioInfoFound) || errors.Is(dres.videoParseError, jerrors.ErrNoVideoInfoFound)) {
messenger.SendFatalMessage(msg)
glog.Errorln(msg)
continue
} else {
ms.fatalEnd(errors.New(msg))
Expand Down

0 comments on commit b8387e1

Please sign in to comment.