]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.cpp
Update the textual list of dependencies in the README.
[nageru] / futatabi / mainwindow.cpp
index 212c5c4d7733b0b3b04766580e374f7e5e857aee..38a50df371886d4045a31993e5fa93ae19699061 100644 (file)
@@ -181,11 +181,11 @@ MainWindow::MainWindow()
                this, &MainWindow::clip_list_selection_changed);
 
        // Find out how many cameras we have in the existing frames;
-       // if none, we start with a single camera.
-       num_cameras = 1;
+       // if none, we start with two cameras.
+       num_cameras = 2;
        {
                lock_guard<mutex> lock(frame_mu);
-               for (size_t stream_idx = 1; stream_idx < MAX_STREAMS; ++stream_idx) {
+               for (size_t stream_idx = 2; stream_idx < MAX_STREAMS; ++stream_idx) {
                        if (!frames[stream_idx].empty()) {
                                num_cameras = stream_idx + 1;
                        }