From 3941206233723cb45596b1ca54f00ab82e080268 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 27 Aug 2020 00:17:42 +0200 Subject: [PATCH] Small indent fix. --- nageru/decklink_output.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nageru/decklink_output.cpp b/nageru/decklink_output.cpp index 3dd5243..00d8043 100644 --- a/nageru/decklink_output.cpp +++ b/nageru/decklink_output.cpp @@ -564,11 +564,11 @@ void DeckLinkOutput::present_thread_func() for ( ;; ) { unique_ptr frame; { - unique_lock 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 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()); -- 2.39.2