mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-10 09:02:14 +02:00
Refactor the FFmpeg and Matroska demuxers to consume data through `IncrementallyPopulatedStream::Cursor` instead of a pointer to fully buffered. This change establishes a new rule: each track must be initialized with its own cursor. Data providers now explicitly create a per-track context via `Demuxer::create_context_for_track(track, cursor)`, and own pointer to that cursor. In the upcoming changes, holding the cursor in the provider would allow to signal "cancel blocking reads" so an in-flight seek can fail immediately when a newer seek request arrives.
112 KiB
112 KiB