Commit f0ebd661 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf/session: Reset per-node end of stream flags when stopped.

parent 6a68e345
......@@ -946,12 +946,17 @@ static void session_pause(struct media_session *session)
static void session_clear_end_of_presentation(struct media_session *session)
{
struct media_source *source;
struct topo_node *node;
session->presentation.flags &= ~SESSION_FLAG_END_OF_PRESENTATION;
LIST_FOR_EACH_ENTRY(source, &session->presentation.sources, struct media_source, entry)
{
source->flags &= ~SOURCE_FLAG_END_OF_PRESENTATION;
}
LIST_FOR_EACH_ENTRY(node, &session->presentation.nodes, struct topo_node, entry)
{
node->flags &= ~TOPO_NODE_END_OF_STREAM;
}
}
static void session_set_stopped(struct media_session *session, HRESULT status)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment