mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-29 10:32:30 -06:00
movie: fix default value in StartPlayback
This commit is contained in:
parent
ae5c658997
commit
9d142f981d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue