X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fplayer.cpp;h=1d8962f25b6f657c54aa6c34074300ae9db9a791;hb=cb0dcfa84f9529ee371ff41ee6813c9bea71766a;hp=34beda78f98667d95059a65b8028b141887f8c34;hpb=e20bf0f86703779f11d575f44173ff73544e1c2d;p=nageru diff --git a/futatabi/player.cpp b/futatabi/player.cpp index 34beda7..1d8962f 100644 --- a/futatabi/player.cpp +++ b/futatabi/player.cpp @@ -525,7 +525,7 @@ void Player::play(const vector &clips) void Player::splice_play(const vector &clips) { - lock_guard lock(queue_state_mu); + lock_guard lock(queue_state_mu); if (new_clip_ready) { queued_clip_list = clips; assert(!splice_ready); @@ -588,7 +588,7 @@ void Player::release_queue_spot() new_clip_changed.notify_all(); } -double compute_time_left(const vector &clips, size_t currently_playing_idx, double progress_currently_playing) +double compute_time_left(const vector &clips, size_t currently_playing_idx, double progress_currently_playing) { // Look at the last clip and then start counting from there. double remaining = 0.0;