Skip to content

Commit

Permalink
Revert "stream-interaction: Remove useless condition"
Browse files Browse the repository at this point in the history
This reverts commit a56c8a1.
  • Loading branch information
jusa committed Feb 24, 2021
1 parent 0afa9f8 commit f50e835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/stream-interaction.c
Expand Up @@ -273,7 +273,8 @@ static pa_hook_result_t process(struct userdata *u, pa_object *stream, bool crea

if (!create)
for (j = 0; j < u->n_groups; j++)
pa_hashmap_remove(u->groups[j]->interaction_state, stream);
if (pa_sink_input_isinstance(stream))
pa_hashmap_remove(u->groups[j]->interaction_state, stream);

if ((pa_sink_input_isinstance(stream) && !PA_SINK_INPUT(stream)->sink) ||
(pa_source_output_isinstance(stream) && !PA_SOURCE_OUTPUT(stream)->source))
Expand Down

0 comments on commit f50e835

Please sign in to comment.