Merge branch 'patch-1' of https://github.com/Draic/PlexKodiConnect into Draic-patch-1

This commit is contained in:
tomkat83 2017-12-28 15:33:38 +01:00
commit 48c05c415d

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'])