Group Methods

This commit is contained in:
BaronGreenback
2021-04-17 11:19:09 +01:00
parent b63f615fd4
commit bb6fddde9a
7 changed files with 8 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ namespace MediaBrowser.MediaEncoding.Probing
.Where(i => i.Type != MediaStreamType.Subtitle || !string.IsNullOrWhiteSpace(i.Codec))
.ToList();
info.MediaAttachments = internalStreams.Select(s => GetMediaAttachment(s))
info.MediaAttachments = internalStreams.Select(GetMediaAttachment)
.Where(i => i != null)
.ToList();