Merge pull request #87 from CodeName393/add-HDR-Vivid-TAG

fix(title): Add HDR Vivid Format HDR Tag
This commit is contained in:
Sp5rky
2026-03-04 15:38:03 -07:00
committed by GitHub

View File

@@ -121,6 +121,8 @@ class Title:
base_layer = DYNAMIC_RANGE_MAP.get(hdr_format)
if base_layer and base_layer != "DV":
context["hdr"] += f".{base_layer}"
elif (primary_video_track.hdr_format or "").startswith("HDR Vivid"):
context["hdr"] = "HDR"
else:
context["hdr"] = DYNAMIC_RANGE_MAP.get(hdr_format, "")
elif trc and "HLG" in trc: