Add ReplayOptions struct to contain replay-time configuration

* Not currently exposed to the UI or used by the drivers, we just pass the
  default object through
This commit is contained in:
baldurk
2019-08-26 19:09:50 +01:00
parent 878acd4ad9
commit 20be9f3d52
27 changed files with 250 additions and 71 deletions
+2 -2
View File
@@ -566,7 +566,7 @@ struct ReplayCommand : public Command
rdcstr remotePath = remote->CopyCaptureToRemote(filename.c_str(), NULL);
IReplayController *renderer = NULL;
rdctie(status, renderer) = remote->OpenCapture(~0U, remotePath.c_str(), NULL);
rdctie(status, renderer) = remote->OpenCapture(~0U, remotePath.c_str(), ReplayOptions(), NULL);
if(status == ReplayStatus::Succeeded)
{
@@ -596,7 +596,7 @@ struct ReplayCommand : public Command
IReplayController *renderer = NULL;
ReplayStatus status = ReplayStatus::InternalError;
rdctie(status, renderer) = file->OpenCapture(NULL);
rdctie(status, renderer) = file->OpenCapture(ReplayOptions(), NULL);
file->Shutdown();