From: Steinar H. Gunderson Date: Wed, 26 Aug 2020 22:17:42 +0000 (+0200) Subject: Small indent fix. X-Git-Tag: 2.0.2~20 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=3941206233723cb45596b1ca54f00ab82e080268 Small indent fix. --- 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());