[timer] fix too short interval

with migrating to freerdp_timer_add the timer values should have been
adjusted to be in ns instead of µs
This commit is contained in:
akallabeth
2025-10-10 17:39:46 +02:00
parent e7b5ac7c73
commit 14f065617c
3 changed files with 3 additions and 3 deletions

View File

@@ -1160,7 +1160,7 @@ static UINT video_plugin_initialize(IWTSPlugin* plugin, IWTSVirtualChannelManage
if (status == CHANNEL_RC_OK)
video->context->priv->timerID =
freerdp_timer_add(video->rdpcontext, 20000, timer_cb, video->context, true);
freerdp_timer_add(video->rdpcontext, 20000000, timer_cb, video->context, true);
video->initialized = video->context->priv->timerID != 0;
if (!video->initialized)
status = ERROR_INTERNAL_ERROR;