Fix 4k H265 not being transcoded
This commit is contained in:
parent
25c2b5e782
commit
9c4c6bf07f
1 changed files with 5 additions and 2 deletions
|
@ -124,6 +124,9 @@ class PlayUtils():
|
|||
try:
|
||||
resolution = int(videoCodec['resolution'])
|
||||
except (TypeError, ValueError):
|
||||
if videoCodec['resolution'] == '4k':
|
||||
resolution = 2160
|
||||
else:
|
||||
LOG.info('No video resolution from PMS, not transcoding.')
|
||||
return False
|
||||
if 'h265' in codec or 'hevc' in codec:
|
||||
|
|
Loading…
Reference in a new issue