We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31f5a6 commit 2882c64Copy full SHA for 2882c64
csrc/mmdeploy/apis/c/mmdeploy/common.cpp
@@ -93,7 +93,7 @@ int mmdeploy_context_add(mmdeploy_context_t context, mmdeploy_context_type_t typ
93
case MMDEPLOY_TYPE_DEVICE: {
94
const auto& device = *(Device*)object;
95
ctx["device"] = device;
96
- ctx["stream"] = Stream::GetDefault(device);
+ ctx["stream"] = Stream(device);
97
break;
98
}
99
case MMDEPLOY_TYPE_SCHEDULER:
0 commit comments