mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 14:00:34 +00:00
Merge pull request #1094 from kontell/patch-1
Select mp4 container when transcoding to AV1
This commit is contained in:
commit
682e5cef9e
1 changed files with 3 additions and 0 deletions
|
|
@ -280,6 +280,9 @@ class PlayUtils(object):
|
|||
audio_bitrate,
|
||||
)
|
||||
|
||||
if "av1" in self.get_transcoding_video_codec():
|
||||
params += "&SegmentContainer=mp4"
|
||||
|
||||
video_type = "live" if source["Protocol"] == "LiveTV" else "master"
|
||||
base = base.replace(
|
||||
"stream" if "stream" in base else "master", video_type, 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue