Skip to content

Commit

Permalink
Use frame interval passed from xrdp
Browse files Browse the repository at this point in the history
  • Loading branch information
metalefty committed Nov 15, 2024
1 parent ec7c24d commit 484c08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/rdpClientCon.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ rdpClientConResizeAllMemoryAreas(rdpPtr dev, rdpClientCon *clientCon)
clientCon->cap_stride_bytes = clientCon->cap_width * 4;
shmemstatus = SHM_RFX_ACTIVE_PENDING;

dev->msFrameInterval = MIN_MS_BETWEEN_FRAMES_RFX;
dev->msFrameInterval = clientCon->client_info.min_ms_between_frames_rfx;
break;
case CC_SUF_A2: /* H264 */
case CC_GFX_A2:
Expand All @@ -813,7 +813,7 @@ rdpClientConResizeAllMemoryAreas(rdpPtr dev, rdpClientCon *clientCon)
clientCon->cap_stride_bytes = clientCon->cap_width * 4;
shmemstatus = SHM_H264_ACTIVE_PENDING;

dev->msFrameInterval = MIN_MS_BETWEEN_FRAMES_H264;
dev->msFrameInterval = clientCon->client_info.min_ms_between_frames_h264;
break;
default:
LLOGLN(0, ("rdpClientConProcessMsgClientInfo: got normal capture"));
Expand Down

0 comments on commit 484c08c

Please sign in to comment.