mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-26 11:07:54 -06:00
apply_output switched the format whenever the Output To extension mapped to a different format, and `.mp4` maps to H.264 only, so renderQueue.setOutput with an .mp4 path (even the item's own default name) turned an HEVC or AV1 module into H.264 and the render wrote an H.264 stream. The extension now changes the format only when the current format doesn't write it (OutputFormat::extension): HEVC, AV1 and H.264 all write .mp4, so they stay; `.mov` on H.264 still picks ProRes and `.mp4` on ProRes still picks H.264. Test: output_to_keeps_a_format_that_writes_the_extension. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>