StartStreaming: add missing comment

This commit is contained in:
Palakis 2017-10-27 10:24:58 +02:00
parent 7ab3e38da7
commit db1527ab9b

View File

@ -548,6 +548,7 @@ void WSRequestHandler::HandleStartStreaming(WSRequestHandler* req)
{ {
if (obs_frontend_streaming_active() == false) { if (obs_frontend_streaming_active() == false) {
obs_service_t* currentService = obs_frontend_get_streaming_service(); obs_service_t* currentService = obs_frontend_get_streaming_service();
// get_streaming_service doesn't addref, so let's do it ourselves
obs_service_addref(currentService); obs_service_addref(currentService);
if (req->hasField("stream")) { if (req->hasField("stream")) {