mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
78fc5afdc4
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,8 @@ namespace MediaBrowser.Model.Dlna
|
||||||
playlistItem.AudioCodec = transcodingProfile.AudioCodec.Split(',').FirstOrDefault();
|
playlistItem.AudioCodec = transcodingProfile.AudioCodec.Split(',').FirstOrDefault();
|
||||||
playlistItem.VideoCodec = transcodingProfile.VideoCodec;
|
playlistItem.VideoCodec = transcodingProfile.VideoCodec;
|
||||||
playlistItem.Protocol = transcodingProfile.Protocol;
|
playlistItem.Protocol = transcodingProfile.Protocol;
|
||||||
|
playlistItem.AudioStreamIndex = options.AudioStreamIndex;
|
||||||
|
playlistItem.SubtitleStreamIndex = options.SubtitleStreamIndex;
|
||||||
|
|
||||||
var videoTranscodingConditions = options.Profile.CodecProfiles
|
var videoTranscodingConditions = options.Profile.CodecProfiles
|
||||||
.Where(i => i.Type == CodecType.Video && i.ContainsCodec(transcodingProfile.VideoCodec))
|
.Where(i => i.Type == CodecType.Video && i.ContainsCodec(transcodingProfile.VideoCodec))
|
||||||
|
|
Loading…
Reference in a new issue