On Sun Aug 20 15:44:13 2023 +0000, Nikolay Sivov wrote:
It does. What I mean is when player (I tried mfplay one) is stopped, SetPosition() does not do anything, only stores specified position. When it's playing, source is stopped and the started at new position, when it's paused source is stopped, started at new position, and then paused.
I just tried it with a custom source on Windows 10. It always stops the source and then starts it, even when paused. However, no MESessionStopped events are sent. So this is merely how IMFMediaSession calls IMFMediaSource. The thing is do we really need to mimic this? Even if it can be done with a IMFMediaSource::Start()?