Fix full cuts not using custom transitions properly

pull/471/head
Mike Lang 3 weeks ago
parent 6bb3edab41
commit 2fcbff3b44

@ -984,7 +984,7 @@ def full_cut_segments(segment_ranges, ranges, transitions, encode_args, stream=F
} }
if video_type in CUSTOM_XFADE_TRANSITIONS: if video_type in CUSTOM_XFADE_TRANSITIONS:
kwargs["transition"] = "custom" kwargs["transition"] = "custom"
kwargs["expr"] = f"'{CUSTOM_XFADE_TRANSITIONS[video_type]}'" # wrap in '' for quoting kwargs["expr"] = f"'{CUSTOM_XFADE_TRANSITIONS[video_type][1]}'" # wrap in '' for quoting
elif video_type in KNOWN_XFADE_TRANSITIONS: elif video_type in KNOWN_XFADE_TRANSITIONS:
kwargs["transition"] = video_type kwargs["transition"] = video_type
else: else:

Loading…
Cancel
Save