Merge pull request #7118 from crobibero/audio-stream-null

This commit is contained in:
Cody Robibero 2022-01-06 10:36:10 -07:00 committed by GitHub
commit 6b4f5a8663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1236,7 +1236,7 @@ namespace MediaBrowser.Model.Dlna
return (false, TranscodeReason.ContainerBitrateExceedsLimit); return (false, TranscodeReason.ContainerBitrateExceedsLimit);
} }
if (audioStream.IsExternal) if (audioStream?.IsExternal == true)
{ {
return (false, TranscodeReason.AudioIsExternal); return (false, TranscodeReason.AudioIsExternal);
} }