mirror of
https://github.com/samsonjs/media.git
synced 2026-04-14 12:45:47 +00:00
Renderers join when they can start processing but not produce output. In CompositionPlayer before this change, the VideoSink will be flushed when position is reset regardless. This is useful for seeking, as seeking triggers position reset. But with pre-warming, a video renderer can be joining - it is enabled (which also triggers position reset) before the previous image renderer is disabled. At this moment, as the image renderer is still producing frames, we should not flush the video sink just now. PiperOrigin-RevId: 699943882 |
||
|---|---|---|
| .. | ||
| androidTest | ||
| main | ||
| test | ||