fix: modify enable param

Signed-off-by: zhouaoteng <zhouaoteng@huawei.com>
This commit is contained in:
zhouaoteng
2023-09-28 16:37:55 +08:00
parent 4f2e878fd1
commit 0472e99e9e
2 changed files with 5 additions and 5 deletions
@@ -78,7 +78,7 @@ int32_t DistributedInputSourceHandler::ReleaseSource()
int32_t DistributedInputSourceHandler::RegisterDistributedHardware(const std::string &devId,
const std::string &dhId, const EnableParam &param, std::shared_ptr<RegisterCallback> callback)
{
return DistributedInputClient::GetInstance().RegisterDistributedHardware(devId, dhId, param.attrs, callback);
return DistributedInputClient::GetInstance().RegisterDistributedHardware(devId, dhId, param.sinkAttrs, callback);
}
int32_t DistributedInputSourceHandler::UnregisterDistributedHardware(const std::string &devId,