mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
Since we know whether we're buffering from the PlaybackManager state, let's use that to update the ready state. This ensures that when we set the ready state to HAVE_CURRENT_DATA, we actually have a frame. Setting the ready state to HAVE_ENOUGH_DATA should probably still be further conditioned on the buffer size in IncrementallyPopulatedStream, but this is still an improvement for now.
120 KiB
120 KiB