Skip to content

Commit 801edf7

Browse files
authored
remove redundant log message (#4723)
1 parent bb3cfee commit 801edf7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/recorder/format_mpegts.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,7 @@ func (f *formatMPEGTS) initialize() bool {
307307

308308
case *rtspformat.MPEG4Audio:
309309
co := forma.GetConfig()
310-
if co == nil {
311-
f.ri.Log(logger.Warn, "skipping MPEG-4 audio track: tracks without explicit configuration are not supported")
312-
} else {
310+
if co != nil {
313311
track := addTrack(forma, &mpegts.CodecMPEG4Audio{
314312
Config: *co,
315313
})

0 commit comments

Comments
 (0)