mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 23:42:45 +00:00
Add an option to transcode HEVC RExt
This commit is contained in:
parent
c3136752dd
commit
3c5e2d0a7e
3 changed files with 20 additions and 0 deletions
|
@ -480,6 +480,21 @@ class PlayUtils(object):
|
|||
}
|
||||
)
|
||||
|
||||
if settings('transcode_h265_rext.bool'):
|
||||
profile['CodecProfiles'].append(
|
||||
{
|
||||
'Type': 'Video',
|
||||
'codec': 'h265,hevc',
|
||||
'Conditions': [
|
||||
{
|
||||
'Condition': "EqualsAny",
|
||||
'Property': "VideoProfile",
|
||||
'Value': "main|main 10"
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
if self.info['ForceTranscode']:
|
||||
profile['DirectPlayProfiles'] = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue