Alexandre Julliard pushed to branch master at wine / wine
Commits: 21d1ddde by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Wait for sample delivery before checking the frame size.
The size update always occurs before sample delivery, but not always before MESessionStarted.
- - - - - a4a271ab by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Synchronise media event subscription.
Events can be dropped, and a multiple begin can occur while 'timed_out' is false, because an expected timeout leaves an active subscription, so it's possible to resubscribe and then handle an existing event while the subscription again remains active.
- - - - - ddff79c5 by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Limit test_media_session_source_shutdown() session reuse tests.
New failure codes keep turning up here in Windows.
- - - - - 671dbaa1 by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Allow WAIT_TIMEOUT after close in test_media_session_Close().
Windows times out here on rare occasions.
- - - - - 4d5cc7fc by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Mark state comparison flaky after seek in test_media_session_seek().
Windows has matching count but mismatching states here on rare occasions.
- - - - - 9b9fe8c4 by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Check the index in test_media_sink_GetStreamSinkByIndex().
- - - - - e877f612 by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Clean up at the end of test_media_session_seek().
- - - - - 3b86cebe by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Set test media stream sample duration by default and update current time on seek.
Fixes large variations in the number of tests executed.
- - - - - e8faf123 by Conor McCarthy at 2025-11-14T18:04:36+01:00 mf/tests: Create all MF test objects on the heap.
Windows provides no guarantee about when the last reference will be released, and crashes occur when the test function returns before the session's current topology is shut down.
- - - - -
1 changed file:
- dlls/mf/tests/mf.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/ffc35189b58581e4ec666687fa75c3...