S026: plan ticks, PROGRESS, D-016, INDEX (code on branch s022-mse-proto)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-12 12:02:58 -06:00
commit b9033930e6

View file

@ -273,6 +273,14 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
- Not done: per-site privacy-mode flag (privacy mode is global, S024); importer for the old Python Nacre's JSON stores (none exists); native file dialogs behind Import/Export; addresses, cards, generator, auto-lock timer; notification display; user-script disable/edit/exclude.
- Later: tab titles of nacre:// pages show a generic icon; selftest `set` with a bad value only logs (does not fail the run).
## S026 — gst_mse fixes for split audio/video MSE (2026-11-12, branch s022-mse-proto)
- Our gst_mse 1.28.9 copy in `vendor/gst-mse/` (LGPL, `nacre.patch`, write-up `docs/engine/gst-mse-patches.md`); `tools/gst-mse.sh` builds it into `target/gst-mse/`. Nacre finds the library by RUNPATH (`build.rs`) and the plugin by GST_PLUGIN_PATH (`src/main.rs`), and logs both paths (D-016).
- Fixed: update-end before parsing (append now waits for its end-of-append), idle update/update-end ticks, streams exposed before every SourceBuffer's init segment (plus a leaked `media_source_lock`), msesrc pad task giving up on a not-yet-active peer (split A/V hung ~1 in 4). Settle work-around gone from `mse.rs`; `remove()` reports its own updateend (gst_mse's remove is a stub). Opus counts as supported with a decoder only (Arch has no opusparse).
- Tests: `tools/gst-mse.sh test` (3 C tests, each fails on the system 1.28.9); `tools/smoke.sh tests/smoke/mse.txt` green incl. `?split` (video WebM first, audio fMP4 2 s later, picture shown).
- YouTube (`tests/smoke/youtube-mse.txt`, internet): plays with picture and captions. Run 1 VP9 144p + Opus, time 8 → 10.7 s between 15 and 30 s (stalls); run 2 VP9 240p + Opus, played to the end ("Up next"); the js probe after the end never returned.
- Not done: YouTube stalls and the hung js probe not investigated (S027/S028); the pad-task race only shows in the C test under CPU load.
- Later (S027/S028): coded frame removal in gst_mse (`remove` is a stub); `HTMLMediaElement.buffered` from the MediaSource; script thread blocking (S022 note) seen again after the video ended.
## Later
- Turnstile widget paints as a black half-disc (Servo painting of its iframe/shadow DOM, S006 site doctor).
- Google sign-in past the email step: press Next with a real account, by the user (S006).