mf/session: Reset topology status back to READY when stopped.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-06-15 12:00:14 +03:00 committed by Alexandre Julliard
parent f0ebd66189
commit 09bb5d949f
1 changed files with 1 additions and 0 deletions

View File

@ -957,6 +957,7 @@ static void session_clear_end_of_presentation(struct media_session *session)
{ {
node->flags &= ~TOPO_NODE_END_OF_STREAM; node->flags &= ~TOPO_NODE_END_OF_STREAM;
} }
session->presentation.topo_status = MF_TOPOSTATUS_READY;
} }
static void session_set_stopped(struct media_session *session, HRESULT status) static void session_set_stopped(struct media_session *session, HRESULT status)