movie: fix default value in StartPlayback

This commit is contained in:
zhupengfei 2018-09-30 14:26:38 +08:00
parent ae5c658997
commit 9d142f981d
No known key found for this signature in database
GPG key ID: 85B82A3E62174206
2 changed files with 2 additions and 2 deletions

View file

@ -339,7 +339,7 @@ int main(int argc, char** argv) {
}
if (!movie_play.empty()) {
Core::Movie::GetInstance().StartPlayback(movie_play, [] {});
Core::Movie::GetInstance().StartPlayback(movie_play);
}
if (!movie_record.empty()) {
Core::Movie::GetInstance().StartRecording(movie_record);

View file

@ -42,7 +42,7 @@ public:
}
void StartPlayback(const std::string& movie_file,
std::function<void()> completion_callback = {});
std::function<void()> completion_callback = [] {});
void StartRecording(const std::string& movie_file);
/// Prepare to override the clock before playing back movies