提交 3032535f 编写于 作者: J jp9000

obs-outputs: Signal stop if stop called when not active

Fixes a bug with reconnecting where the reconnecting would get stuck in
the "stopping" state.
上级 43300216
......@@ -267,6 +267,8 @@ static void ftl_stream_stop(void *data, uint64_t ts)
if (active(stream)) {
if (stream->stop_ts == 0)
os_sem_post(stream->send_sem);
} else {
obs_output_signal_stop(stream->output, OBS_OUTPUT_SUCCESS);
}
}
......
......@@ -187,6 +187,8 @@ static void rtmp_stream_stop(void *data, uint64_t ts)
if (active(stream)) {
if (stream->stop_ts == 0)
os_sem_post(stream->send_sem);
} else {
obs_output_signal_stop(stream->output, OBS_OUTPUT_SUCCESS);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册