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:
parent
f0ebd66189
commit
09bb5d949f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue