diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index e7b65af9..40b26024 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -303,6 +303,11 @@ class PlayUtils(): "%s&VideoCodec=h264&AudioCodec=ac3&MaxAudioChannels=6&deviceId=%s&VideoBitrate=%s" % (playurl, deviceId, self.getBitrate()*1000)) + # Limit to 8 bit if user selected transcode Hi10P + transcodeHi10P = settings('transcodeHi10P') + if transcodeHi10P == "true": + playurl = "%s&MaxVideoBitDepth=8" % playurl + return playurl def getBitrate(self):