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
test(windows): widen the repeat tests' temp paths through the ANSI code page
EtienneLescot0511659d8e93
diff --git a/electron/native/wgc-capture/src/mf_encoder_color_test.cpp b/electron/native/wgc-capture/src/mf_encoder_color_test.cppindex dad217a1c..1cc20d6b0 100644--- a/electron/native/wgc-capture/src/mf_encoder_color_test.cpp+++ b/electron/native/wgc-capture/src/mf_encoder_color_test.cpp@@ -298,7 +298,7 @@ void checkRepeatedFrames(ID3D11Device* device, ID3D11DeviceContext* context) {{const std::string path = std::string(tempDir) + "openscreen-mf-encoder-repeat.mp4";- const std::wstring widePath(path.begin(), path.end());+ const std::wstring widePath = widen(path);Microsoft::WRL::ComPtr<ID3D11Texture2D> texture;MFEncoder encoder;if (!makeTexture(kWidth, kHeight, texture) ||@@ -328,7 +328,7 @@ void checkRepeatedFrames(ID3D11Device* device, ID3D11DeviceContext* context) {{const std::string path = std::string(tempDir) + "openscreen-mf-encoder-repeat-timing.mp4";- const std::wstring widePath(path.begin(), path.end());+ const std::wstring widePath = widen(path);Microsoft::WRL::ComPtr<ID3D11Texture2D> texture;MFEncoder encoder;if (!makeTexture(1920, 1080, texture) ||