Less negation

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
Dmitry Lyzo 2021-04-04 02:09:57 +03:00 committed by GitHub
parent 364e8931af
commit 36da7a06d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,7 +514,7 @@ namespace MediaBrowser.Model.Dlna
private static List<TranscodeReason> GetTranscodeReasonsFromDirectPlayProfile(MediaSourceInfo item, MediaStream videoStream, MediaStream audioStream, IEnumerable<DirectPlayProfile> directPlayProfiles)
{
var mediaType = videoStream != null ? DlnaProfileType.Video : DlnaProfileType.Audio;
var mediaType = videoStream == null ? DlnaProfileType.Audio : DlnaProfileType.Video;
var containerSupported = false;
var audioSupported = false;