mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Fix SDR source video being identified as HDR stream video
This commit is contained in:
parent
99f826c236
commit
7ae87fe0e7
2 changed files with 11 additions and 1 deletions
|
@ -1995,7 +1995,8 @@ class PmsConnect(object):
|
|||
else:
|
||||
stream_details['video_dynamic_range'] = 'SDR'
|
||||
|
||||
if video_details['stream_video_decision'] != 'transcode' \
|
||||
if stream_details['video_dynamic_range'] == 'HDR' \
|
||||
and video_details['stream_video_decision'] != 'transcode' \
|
||||
or helpers.cast_to_int(video_details['stream_video_bit_depth']) > 8 \
|
||||
and video_details['stream_video_color_space'] == 'bt2020nc':
|
||||
stream_details['stream_video_dynamic_range'] = 'HDR'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue