temp
This commit is contained in:
parent
b96a4d45e9
commit
436a7e99d8
@ -184,6 +184,7 @@ void RTMPManager::stream_loop(Camera cam, StreamType type, StreamContext *ctx)
|
||||
{
|
||||
res.result = 1;
|
||||
res.reason = "Failed to create pipeline";
|
||||
bool expected = false;
|
||||
if (ctx->start_result_set.compare_exchange_strong(expected, true)) ctx->start_result.set_value(res);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user