mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Less negation
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
364e8931af
commit
36da7a06d7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue