mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Previously, TextureMangers have a method to signal ending of a current input stream, and a method to end the **entire input**. The responsibility of both methods are not easy to document, understand and read. With the new design, - Only `TextureManager.signalEndOfCurrentInputStream()` is kept - It's called for every MediaItem in the sequence, include the final one - FinalWrapper now takes explicit signal that frame processing is ending, rather than relying on the return value of `onCurrentInputStreamProcessed()` - On DVFP receiving EOS from the pipeline, it signals FinalWrapper the stream is ending, **before** signaling the input switcher, so that FinalWrapper is able to end the stream when the onCurrentInputStreamEnded signal eventually reaches FinalWrapper PiperOrigin-RevId: 540856680 |
||
|---|---|---|
| .. | ||
| media3/effect | ||