Skip to content

Commit

Permalink
Don't keep session in paused when switching mountpoints (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFFF committed Jun 3, 2020
1 parent 0bb11f3 commit b06bb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -5205,7 +5205,7 @@ static void *janus_streaming_handler(void *data) {
janus_mutex_unlock(&helper->mutex);
}
session->mountpoint = mp;
g_atomic_int_set(&session->paused, 1);
g_atomic_int_set(&session->paused, 0);
janus_mutex_unlock(&session->mutex);
janus_mutex_unlock(&mp->mutex);
/* Done */
Expand Down

0 comments on commit b06bb76

Please sign in to comment.