mf/session: Do not drop pending commands when clearing current presentation.
commit20a1eb3b252b404bd2ed9a11dc03312ea11fff0d
authorNikolay Sivov <nsivov@codeweavers.com>
Fri, 28 May 2021 12:49:02 +0000 (28 15:49 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 28 May 2021 19:53:07 +0000 (28 21:53 +0200)
tree95acd770d446ef9583f1abc3288f91def4264141
parente4e319d032d74ce5be55a31ef3add629b257ea48
mf/session: Do not drop pending commands when clearing current presentation.

Calling Start() short after SetTopology() has a good chance of getting lost,
because clearing logic will drop all pending commands. This is easy to reproduce
with IMFPMediaPlayer, which works reliably on Windows.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/mf/session.c