Less negation

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/5637/head
Dmitry Lyzo 4 years ago committed by GitHub
parent 364e8931af
commit 36da7a06d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save