X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fplayer.cpp;h=4fe42af588214fbd7b97c27f4b17a329e82c3dea;hb=51a4b5d7f6121fac9a7e1440018e196750c14088;hp=b2b7ac26764995faaffc0a04dd7052bf3c4a0f03;hpb=f1cddd2fcaf4d166b31c7d28e4ccd2201c5508f2;p=nageru diff --git a/futatabi/player.cpp b/futatabi/player.cpp index b2b7ac2..4fe42af 100644 --- a/futatabi/player.cpp +++ b/futatabi/player.cpp @@ -199,9 +199,9 @@ got_clip: new_clip_changed.wait_until(lock, next_frame_start, [this]{ return should_quit || new_clip_ready || override_stream_idx != -1; }); - if (should_quit) { - return; - } + if (should_quit) { + return; + } } else { // If the queue is full (which is really the state we'd like to be in), // wait until there's room for one more frame (ie., one was output from