mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user