From 099bbfbafbaf918d6befe3d84403d7e0e8a34ac3 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Thu, 25 Jan 2018 14:44:19 +0100 Subject: [PATCH] Raise maximum OSR framerate to 240 --- atom/browser/osr/osr_render_widget_host_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/browser/osr/osr_render_widget_host_view.cc b/atom/browser/osr/osr_render_widget_host_view.cc index 9fdb6abe1139..c6af6a7b446a 100644 --- a/atom/browser/osr/osr_render_widget_host_view.cc +++ b/atom/browser/osr/osr_render_widget_host_view.cc @@ -1167,8 +1167,8 @@ void OffScreenRenderWidgetHostView::SetFrameRate(int frame_rate) { } else { if (frame_rate <= 0) frame_rate = 1; - if (frame_rate > 60) - frame_rate = 60; + if (frame_rate > 240) + frame_rate = 240; frame_rate_ = frame_rate; }