Skip to content
Snippets Groups Projects
Commit e045c859 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

resource: don't send the started event more than one time

Refs #26394
parent 52a789ea
No related branches found
No related tags found
No related merge requests found
......@@ -515,9 +515,12 @@ vout_thread_t *input_resource_RequestVout(input_resource_t *p_resource,
return NULL;
}
vout_rsc->started = true;
if (vout_state != NULL)
*vout_state = INPUT_RESOURCE_VOUT_STARTED;
if (!vout_rsc->started)
{
vout_rsc->started = true;
if (vout_state != NULL)
*vout_state = INPUT_RESOURCE_VOUT_STARTED;
}
DisplayVoutTitle(p_resource, cfg->vout, &vout_rsc->psz_prev_title);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment