Less negation
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
364e8931af
commit
36da7a06d7
|
@ -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…
Reference in New Issue
Block a user