mf: Raise MESessionStopped again if session is already stopped.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Nikolay Sivov 2020-04-14 18:03:45 +03:00 committed by Alexandre Julliard
parent 39c66af35e
commit fe5e93ccc6
1 changed files with 3 additions and 0 deletions

View File

@ -852,6 +852,9 @@ static void session_stop(struct media_session *session)
else
session_set_stopped(session, hr);
break;
case SESSION_STATE_STOPPED:
IMFMediaEventQueue_QueueEventParamVar(session->event_queue, MESessionStopped, &GUID_NULL, S_OK, NULL);
break;
default:
;