mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
vrclient: Use manual method for IVRTrackedCamera_GetVideoStreamFrame.
This commit is contained in:
parent
e9aeba85f2
commit
f5ef49cf29
5 changed files with 24 additions and 19 deletions
|
|
@ -114,3 +114,11 @@ NTSTATUS vrclient_VRClientCoreFactory( void *args )
|
|||
params->_ret = p_VRClientCoreFactory( params->name, params->return_code );
|
||||
return 0;
|
||||
}
|
||||
|
||||
NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( void *args )
|
||||
{
|
||||
struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *)args;
|
||||
struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side;
|
||||
*(w_CameraVideoStreamFrame_t_0914 *)params->_ret = *iface->GetVideoStreamFrame( params->nDeviceIndex );
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue