mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-10 16:39:01 +00:00
fix(title): Add HDR Vivid Format HDR Tag
The existing HDR Vivid format HDR tag processing is missing due to the feature of the title map.
This commit is contained in:
@@ -121,6 +121,8 @@ class Title:
|
|||||||
base_layer = DYNAMIC_RANGE_MAP.get(hdr_format)
|
base_layer = DYNAMIC_RANGE_MAP.get(hdr_format)
|
||||||
if base_layer and base_layer != "DV":
|
if base_layer and base_layer != "DV":
|
||||||
context["hdr"] += f".{base_layer}"
|
context["hdr"] += f".{base_layer}"
|
||||||
|
elif (primary_video_track.hdr_format or "").startswith("HDR Vivid"):
|
||||||
|
context["hdr"] = "HDR"
|
||||||
else:
|
else:
|
||||||
context["hdr"] = DYNAMIC_RANGE_MAP.get(hdr_format, "")
|
context["hdr"] = DYNAMIC_RANGE_MAP.get(hdr_format, "")
|
||||||
elif trc and "HLG" in trc:
|
elif trc and "HLG" in trc:
|
||||||
|
|||||||
Reference in New Issue
Block a user