Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(recording): bound the video-writer frame wait as a hang safety net
Etienne Lescot3f51d68c67ba
diff --git a/electron/native/wgc-capture/src/main.cpp b/electron/native/wgc-capture/src/main.cppindex b0bc3a382..1c0f08140 100644--- a/electron/native/wgc-capture/src/main.cpp+++ b/electron/native/wgc-capture/src/main.cpp@@ -613,7 +613,7 @@ int main(int argc, char* argv[]) {{std::unique_lock lock(mutex);- control.cv.wait(lock, [&] {+ control.cv.wait_for(lock, std::chrono::milliseconds(100), [&] {return control.stopRequested.load() ||encodeFailed.load() ||(!control.paused.load() && latestFrameTexture);