Repository navigation
fix(mcp): send no quality with a GIF export - #1192
Conversation
exportVideo always set quality to good, and the export runner refuses a quality on a GIF, so every GIF export over MCP failed with "--quality is only supported for MP4 exports". A GIF is sized by gifSize; leave quality null for it.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Summary
Every GIF export over MCP failed, on both the stdio and the in-app server, with "--quality is only supported for MP4 exports".
exportVideoalways sentquality: "good", and the export runner refuses a quality on a GIF.quality: null;gifSizesizes it.quality: nullon the GIF request. It checked the GIF options withtoMatchObjectand never looked atquality, which is how this got through.Related issue
Found in the Windows MCP e2e pass on build run 38538195250 (#1191). Part of #1180.
Type of change
Release impact
Desktop impact
Testing
npx vitest --run electron/mcp/media-tools.test.ts: 39 pass.exportVideoto a.gif.🤖 Generated with Claude Code
Summary by CodeRabbit