File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- 1265
1
+ 1266
Original file line number Diff line number Diff line change @@ -8976,10 +8976,10 @@ index 0000000000000000000000000000000000000000..2f96d82a650993bc0b0469453e7634d2
8976
8976
+} // namespace WebKit
8977
8977
diff --git a/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cpp b/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cpp
8978
8978
new file mode 100644
8979
- index 0000000000000000000000000000000000000000..d75a8076d663ca75d1c42702087d2b0787215f24
8979
+ index 0000000000000000000000000000000000000000..39ebb8bf0cd3bda7913e9f029eeff5256de3fcac
8980
8980
--- /dev/null
8981
8981
+++ b/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cpp
8982
- @@ -0,0 +1,392 @@
8982
+ @@ -0,0 +1,395 @@
8983
8983
+/*
8984
8984
+ * Copyright (c) 2010, The WebM Project authors. All rights reserved.
8985
8985
+ * Copyright (c) 2013 The Chromium Authors. All rights reserved.
@@ -9193,7 +9193,10 @@ index 0000000000000000000000000000000000000000..d75a8076d663ca75d1c42702087d2b07
9193
9193
+ {
9194
9194
+ m_encoderQueue->dispatch([this, frame = WTFMove(frame)] {
9195
9195
+ frame->convertToVpxImage(m_image.get());
9196
- + encodeFrame(m_image.get(), frame->duration());
9196
+ + // TODO: figure out why passing duration to the codec results in much
9197
+ + // worse visual quality and makes video stutter.
9198
+ + for (int i = 0; i < frame->duration(); i++)
9199
+ + encodeFrame(m_image.get(), 1);
9197
9200
+ });
9198
9201
+ }
9199
9202
+
You can’t perform that action at this time.
0 commit comments