| 971 | } |
| 972 | |
| 973 | void GSCapture::StartEncoderThread() |
| 974 | { |
| 975 | Console.WriteLn("GSCapture: Starting encoder thread."); |
| 976 | pxAssert(s_capturing.load(std::memory_order_acquire) && !s_encoder_thread.Joinable()); |
| 977 | s_encoder_thread.Start(EncoderThreadEntryPoint); |
| 978 | } |
| 979 | |
| 980 | void GSCapture::StopEncoderThread(std::unique_lock<std::mutex>& lock) |
| 981 | { |