forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 2e2ed698a69459f7ce472eabcbc01b00a0916d3fFiltered to crates/engine/tests/audio_streams.rsClear filter

2026-08-10

✨ feat(engine): every audio stream is listed, and any one of them opensAhmet Kaan Gümüş · dff7d84
✨ feat(engine): every audio stream is listed, and any one of them opens

A remux carries one audio track per language; the engine took whichever
AAC track a HashMap handed it first and there was no way to ask for
another.

- probe_streams() describes every audio track in file order, undecodable
  ones included (decodable: false) so a picker can grey them rather than
  hide them
- open_multi_streams() takes (path, stream) per source; the old
  open_multi_segments is a wrapper pinning stream 0, so no caller moved
- stream ids come from moov.traks, not the tracks HashMap: "stream 0" was
  a different track run to run on a multi-track file
- a named stream that is missing or not AAC is an Err; stream 0 stays the
  silent source it always was, because a file we cannot decode the audio
  of still has a picture worth editing
- assets/test_multiaudio.mp4: video + AAC stereo + AAC mono (fra) + AC-3,
  which covers the picking, the language and the greyed row