March 13, 2026
8:53 p.m.
Does this work correctly when we start a new playback?
I just did a quick test on Windows. It looks to work the same. To test, I called SetSource on a new file at the end of the first presentation and suppressed any new samples from that second source (via the use of a Source extension). When calling `TransferVideoFrame`, I continued to get the last presented frame.
Do we ensure somewhere that old frame is dropped?
The old frame will either be: 1. replaced on delivery of a new sample; or 2. released on release of the media engine -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10306#note_132218