CpuYuvConverter::convert rebuilt the swscale context + both ffmpeg frames on every call (per output frame), despite the converter persisting for the whole export. Now the scaler + reusable source/dest frames are built once in new() and reused each convert(). (convert is &mut self; the caller already held it mutably.) |
||
|---|---|---|
| .. | ||
| assets | ||
| examples | ||
| src | ||
| Cargo.toml | ||
| PLAN.md | ||
| TOOL_IMPLEMENTATION_PLAN.md | ||
| build.rs | ||