From 7ce6895a2c71d0174662efbf0bd5853346a959ce Mon Sep 17 00:00:00 2001 From: berak Date: Mon, 17 Apr 2017 09:10:10 +0200 Subject: [PATCH] Update tvl1_optical_flow.cpp repair broken cmdline param for cpu/gpu mode --- samples/tapi/tvl1_optical_flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/tapi/tvl1_optical_flow.cpp b/samples/tapi/tvl1_optical_flow.cpp index 5efa4e2352..925745fd7f 100644 --- a/samples/tapi/tvl1_optical_flow.cpp +++ b/samples/tapi/tvl1_optical_flow.cpp @@ -105,7 +105,7 @@ int main(int argc, const char* argv[]) string fname1 = cmd.get("r"); string vdofile = cmd.get("v"); string outpath = cmd.get("o"); - bool useCPU = cmd.get("s"); + bool useCPU = cmd.get("m"); bool useCamera = cmd.get("c"); int inputName = cmd.get("c");