diff options
| author | Abitofevrything <54505189+abitofevrything@users.noreply.github.com> | 2026-01-18 12:17:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-18 12:17:06 +0100 |
| commit | 8d052a6cb17421e6c7774bafc6957029f3c9d4ae (patch) | |
| tree | 015d513cee276a2582ce8cd14184a475f21ab146 /MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs | |
| parent | b9abf590c528803c8ca7d4a953b58d54fa59f797 (diff) | |
Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking
Refactor HLS transcode seeking
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs index 43680f5c0..7d0384ef2 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs @@ -515,21 +515,6 @@ namespace MediaBrowser.Controller.MediaEncoding public int HlsListSize => 0; - public bool EnableBreakOnNonKeyFrames(string videoCodec) - { - if (TranscodingType != TranscodingJobType.Progressive) - { - if (IsSegmentedLiveStream) - { - return false; - } - - return BaseRequest.BreakOnNonKeyFrames && EncodingHelper.IsCopyCodec(videoCodec); - } - - return false; - } - private int? GetMediaStreamCount(MediaStreamType type, int limit) { var count = MediaSource.GetStreamCount(type); |
