]> git.sesse.net Git - nageru/commitdiff
Fix some silly indentation.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 27 Dec 2018 23:30:31 +0000 (00:30 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 27 Dec 2018 23:30:31 +0000 (00:30 +0100)
futatabi/player.cpp

index 7c38821c395d55a7fd25dc1ed70a182b0f73c01e..d75cdd2cf47d8a1b38a6393ff6c92a9e9fbf35a0 100644 (file)
@@ -427,13 +427,11 @@ Player::~Player()
 
 void Player::play(const vector<Clip> &clips)
 {
-       {
-               lock_guard<mutex> lock(queue_state_mu);
-               new_clip_ready = true;
-               queued_clip_list = clips;
-               override_stream_idx = -1;
-               new_clip_changed.notify_all();
-       }
+       lock_guard<mutex> lock(queue_state_mu);
+       new_clip_ready = true;
+       queued_clip_list = clips;
+       override_stream_idx = -1;
+       new_clip_changed.notify_all();
 }
 
 void Player::override_angle(unsigned stream_idx)