21 lines
890 B
Plaintext
21 lines
890 B
Plaintext
tree 8890e310886c7bfbc62b42627b596889074f24bd
|
|
parent a6879b83886490dd434249cf729b7cdd2aace241
|
|
author Booyaka101 <cbosch101@gmail.com> 1778384296 +0800
|
|
committer AustinMroz <austinmroz@utexas.edu> 1778733519 -0700
|
|
|
|
fix(metadata): stop double-stringifying prompt in MP4 metadata
|
|
|
|
`Video Combine` stored `video_metadata["prompt"] = json.dumps(prompt)`
|
|
while every other field is stored as a raw object. `ffmpeg_process`
|
|
then runs `json.dumps` on each value, so `prompt` ends up double-
|
|
encoded in the embedded MP4 metadata.
|
|
|
|
Match the `extra_pnginfo` branch and store the raw object. The PNG
|
|
metadata path on line 354 is unchanged.
|
|
|
|
The original double-wrap was an intentional workaround for JSON's
|
|
stricter NaN handling (per @AustinMroz). It predates the
|
|
consumer-facing schema introduced in #627 and is no longer needed.
|
|
|
|
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|