Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… the reason (#1658) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…le failing clearly (#1658) Review round: the scheduler follows the setting once per pass outside the jobs lock and logs the swap and the new FFmpeg's version line; a picked file that is gone fails naming it instead of falling back; the live value is updated before a save can refuse; resolve_ffmpeg moved into render_live_ffmpeg.rs so the render_manager.rs ceiling raise is dropped. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review findingsReview of head 92050e1 (Fable). Fix commit 4e5e582. Rows 8-9 and 10-12 are the review's live steps; none was run (no live Studio run fits the time, and 10-12 need the game), they are filed together as #1686.
Note: a typo in the FFmpeg field now fails renders naming the path instead of quietly running the bundled or PATH FFmpeg at Start, by the reviewer's instruction to fail clearly; queue time still falls back. |
…verywhere (#1658) Round 2 of the review: a picked FFmpeg path whose file is gone falls back to the bundled or PATH FFmpeg and is said once per batch (activity log and one toast); only with no fallback does the render fail, naming the path and where to pick it again. The queue, a recovered batch and Start use one rule, a one-word name goes through the PATH lookup, the follower compares on its first pass so a save between Start and the scheduler is not missed, the live value is handed over under the settings lock, and Setup's FFmpeg row names a missing picked path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review findingsRound 2. Review of head 4e5e582; fix commit 99b4664. Per the owner's "warn, don't restrict" preference, a picked FFmpeg that is missing now falls back (bundled, then PATH) with a visible warning instead of failing renders. Live Studio steps 9-11 are not run, they are in #1686.
|
…the async worker (#1658) Round 3 of the review: the warning is remembered per distinct choice so Render While Capturing's per-clip Start does not repeat it; Start makes one choice off the async worker and seeds the follower with it (a pick that goes missing before the first pass is reported); the fallback rule and the announce decisions are pure and tested on any machine; "ffmpeg" in any case is no override; the toast stays 8 seconds; Vitest covers the Setup row text, the toast string and the listener. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review findingsRound 3. Review of head 99b4664; fix commit 3740827 (branch merged with dev first). Live Studio steps 9-11 are not run, they are in #1686 (steps 3, 10, 11 added).
|
Release note: Fixed: Retrying a failed render now uses the FFmpeg you picked in Settings; if the picked FFmpeg file is missing, renders use the bundled or PATH one and say so (log and a toast), or fail naming the path.
Closes #1658
A render batch kept the FFmpeg path resolved when its takes were queued, so after fixing the setting Retry and Reset kept failing "FFmpeg not found" until Clear Queue and a rescan.
render_live_ffmpeg.rs(new):LiveFfmpegPathfollows the saved setting like the export folders do. Start reads it again, and the scheduler follows it once per pass, outside the jobs lock, so every job of a pass runs the same FFmpeg and a Retry in a running batch runs the new one. A job keeps one FFmpeg from start to end.resolve_ffmpegmoved here (no ceiling raise).choose) for the queue, a recovered batch, Start and the follower: a picked file as it is, a one-word name (ffmpeg.exe) found on the PATH, else a missing pick falls back to the bundled or PATH FFmpeg. A missing pick is never silent: one activity-log line and one toast (8 seconds) per distinct setting value, so Render While Capturing's per-clip Start does not repeat it (the Render tab listens forrender_ffmpeg_missing). With no fallback the render fails "FFmpeg not found at: . Pick it again in Configuration > Paths."save_settingshands the value over under the settings lock, before validation can refuse the save.[settings] FFmpeg path now ...on a change,[render] FFmpeg changed since the takes were queued: was X, now Yplus the new version line when a batch swaps.Other baked settings
Codec, fps and custom args are per job by design. Export folders and Resumable renders were already live. No other instance found.
Test done
cargo test -p desktop-studio -p source-checks(527) and-p native rendererpass; clippy -D warnings and fmt 1.98.1 clean; Vitest 1999 pass (Setup row text, toast string, listener). New tests: follower changes once, save between Start and first pass, missing pick falls back and is reported, one-word name via PATH, stale setting is not a change since queueing, log lines. Mutation checks (each fails a test): Start not saying a missing pick;apply_loggednot saying it; the fallback ignored; no once-per-value dedupe. Not covered by a test: thesave_settingswiring and the one-lineapply_for/start_forwrappers. Live Studio steps are filed in #1686 (not run here). Not tested in-game.Decisions
Previews, Combine and the OBS test still call
resolve_ffmpeg(same fallback, minus the one-word PATH lookup). Review rounds are in the PR's findings comments.🤖 Generated with Claude Code