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()?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_42808
Several items here were encoded conditionally even though they aren't marked as optional in the spec.
I put the tests into the same commit as the fix because the helper function used throughout the file, check_param, does not support marking only some of the tests inside of it as todo_wine.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3620
Signed-off-by: Torge Matthies <openglfreak(a)googlemail.com>
--
v4: loader: Add Default, Failed, and LastKnownGood values to HKLM\System\Select.
server: Update existing prefixes to use a symlink for HKLM\System\CurrentControlSet.
server: Create link from HKLM\System\CurrentControlSet to ControlSet001.
advapi32/tests: Add test for CurrentControlSet link.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3563