Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/5a9e5e0d5dc9179dd816f7ec93cc21dc8a02468a You should set ROOT_URL correctly, otherwise the web may not work correctly.

Merge pull request from jellyfin/fix-hevc-disable-option

pull/7766/head
Joshua M. Boniface 3 years ago committed by GitHub
commit 5a9e5e0d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -771,7 +771,14 @@ namespace MediaBrowser.Model.Dlna
// Prefer matching video codecs
var videoCodecs = ContainerProfile.SplitValue(videoCodec);
var directVideoCodec = ContainerProfile.ContainsContainer(videoCodecs, videoStream?.Codec) ? videoStream?.Codec : null;
playlistItem.VideoCodecs = directVideoCodec != null ? new[] { directVideoCodec } : videoCodecs;
if (directVideoCodec != null)
{
// merge directVideoCodec to videoCodecs
Array.Resize(ref videoCodecs, videoCodecs.Length + 1);
videoCodecs[^1] = directVideoCodec;
}
playlistItem.VideoCodecs = videoCodecs;
// Copy video codec options as a starting point, this applies to transcode and direct-stream
playlistItem.MaxFramerate = videoStream?.AverageFrameRate;

Loading…
Cancel
Save