]> git.sesse.net Git - nageru/commitdiff
Small indent fix.
authorSteinar H. Gunderson <steinar+nageru@gunderson.no>
Wed, 26 Aug 2020 22:17:42 +0000 (00:17 +0200)
committerSteinar H. Gunderson <steinar+nageru@gunderson.no>
Wed, 26 Aug 2020 22:17:42 +0000 (00:17 +0200)
nageru/decklink_output.cpp

index 3dd5243c5998b5a8c2b5efb747366d4dc9652ce4..00d80432564c569f437a0817e3dafc22a9a3c37d 100644 (file)
@@ -564,11 +564,11 @@ void DeckLinkOutput::present_thread_func()
        for ( ;; ) {
                unique_ptr<Frame> frame;
                {
        for ( ;; ) {
                unique_ptr<Frame> frame;
                {
-                        unique_lock<mutex> lock(frame_queue_mutex);
-                        frame_queues_changed.wait(lock, [this]{
-                                return should_quit.should_quit() || !pending_video_frames.empty();
-                        });
-                        if (should_quit.should_quit()) {
+                       unique_lock<mutex> lock(frame_queue_mutex);
+                       frame_queues_changed.wait(lock, [this]{
+                               return should_quit.should_quit() || !pending_video_frames.empty();
+                       });
+                       if (should_quit.should_quit()) {
                                return;
                        }
                        frame = move(pending_video_frames.front());
                                return;
                        }
                        frame = move(pending_video_frames.front());