movie: fix default value in StartPlayback
This commit is contained in:
parent
ae5c658997
commit
9d142f981d
|
@ -339,7 +339,7 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!movie_play.empty()) {
|
if (!movie_play.empty()) {
|
||||||
Core::Movie::GetInstance().StartPlayback(movie_play, [] {});
|
Core::Movie::GetInstance().StartPlayback(movie_play);
|
||||||
}
|
}
|
||||||
if (!movie_record.empty()) {
|
if (!movie_record.empty()) {
|
||||||
Core::Movie::GetInstance().StartRecording(movie_record);
|
Core::Movie::GetInstance().StartRecording(movie_record);
|
||||||
|
|
|
@ -42,7 +42,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartPlayback(const std::string& movie_file,
|
void StartPlayback(const std::string& movie_file,
|
||||||
std::function<void()> completion_callback = {});
|
std::function<void()> completion_callback = [] {});
|
||||||
void StartRecording(const std::string& movie_file);
|
void StartRecording(const std::string& movie_file);
|
||||||
|
|
||||||
/// Prepare to override the clock before playing back movies
|
/// Prepare to override the clock before playing back movies
|
||||||
|
|
Reference in New Issue