]> git.sesse.net Git - nageru/commitdiff
Mark a TODO.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 19 Feb 2019 23:38:38 +0000 (00:38 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 19 Feb 2019 23:38:58 +0000 (00:38 +0100)
nageru/mixer.cpp

index f8c39e877f394d68f9f30df967436701d30111f5..367094cfeb08c35af2a9dfb9fdd1c5a0ae2d4892 100644 (file)
@@ -1082,7 +1082,7 @@ void Mixer::thread_func()
                        }
 
                        // Only bother doing MJPEG encoding if there are any connected clients
-                       // that want the stream.
+                       // that want the stream. FIXME: We should also stop memcpy-ing if there are none!
                        if (httpd.get_num_connected_multicam_clients() > 0) {
                                auto stream_it = global_flags.card_to_mjpeg_stream_export.find(card_index);
                                if (stream_it != global_flags.card_to_mjpeg_stream_export.end()) {