Hi10p should only trigger on h264

changed h265 to h264 as this should be the intended codec.
This commit is contained in:
Draic 2017-12-23 16:42:40 +01:00 committed by GitHub
parent 02f48dd15f
commit 1ca8a46473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,8 +140,8 @@ class PlayUtils():
return False return False
if ((settings('transcodeHi10P') == 'true' and if ((settings('transcodeHi10P') == 'true' and
videoCodec['bitDepth'] == '10') and videoCodec['bitDepth'] == '10') and
('h265' in codec or 'hevc' in codec)): ('h264' in codec)):
log.info('Option to transcode 10bit h265 video content enabled.') log.info('Option to transcode 10bit h264 video content enabled.')
return True return True
try: try:
bitrate = int(videoCodec['bitrate']) bitrate = int(videoCodec['bitrate'])