capture: refuse the multi-track ranged item render, silence the track's children and receives for it, and gate every exact-bounds capture on its frame count

This commit is contained in:
2026-08-01 20:58:33 -04:00
parent 5e3ea6c851
commit 7dc80e7a4f
20 changed files with 525 additions and 27 deletions
+5 -3
View File
@@ -18,9 +18,11 @@ namespace reasampler::capture {
namespace {
// Deselect every track in GetTrack's index space (which excludes the master, SDK
// ~2634), then select exactly `tracks` — so the resulting selection is the set,
// not the set unioned with whatever was already selected.
// Deselect every track in GetTrack's index space, then select exactly `tracks` — so
// the resulting selection is the set, not the set unioned with whatever was already
// selected. That index space holds no master track (the master is reached only via
// GetMasterTrack); the header states this nowhere, so treat it as behavior rather
// than a documented guarantee.
void selectOnly(const std::vector<MediaTrack*>& tracks)
{
const int total = CountTracks(nullptr);