From 74167fa1cefa8fa3b6edc3f343db9cdc5ecf947d Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 31 Oct 2018 13:57:15 +0100 Subject: [PATCH] Syphon: preset FPS to 60 30 caused problems when the server produced 60 (usual case) because the rate-limiter assumed frame-time 1/30 seconds and therefore was unable to send 60 frames per second. --- src/video_capture/syphon.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_capture/syphon.mm b/src/video_capture/syphon.mm index c670d1ad4..cc444180c 100644 --- a/src/video_capture/syphon.mm +++ b/src/video_capture/syphon.mm @@ -69,7 +69,7 @@ using std::mutex; using std::queue; using std::unique_lock; -#define FPS 30.0 +#define FPS 60.0 static const char fp_display_rgba_to_yuv422_legacy[] = "#define LEGACY 1\n"