mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-22 10:57:18 +00:00
`IncrementallyPopulatedStream::Cursor` now tracks whether it's currently blocked inside a wait for more bytes, allowing higher layers to distinguish "no frames yet" from "decoder is idle". Enter buffering when `DisplayingVideoSink` runs out of frames and the associated `VideoDataProvider` is blocked waiting for data to arrive. Exit buffering once decoding refills the frame queue. For now, buffering behaves like paused, but it gives us an explicit state to hook UI into.