]> git.sesse.net Git - nageru/blobdiff - nageru/video_encoder.h
Make it possible to quit while SRT is not connected, although slowly.
[nageru] / nageru / video_encoder.h
index 91d2c756471a90eac5dbdc3b6d3e60982580fc59..1c2a9491148c50d1deeed8dacbe84b50b43fe627 100644 (file)
@@ -120,6 +120,7 @@ private:
 
        std::atomic<int> quicksync_encoders_in_shutdown{0};
        std::atomic<int> overriding_bitrate{0};
+       std::atomic<bool> should_quit{false};
 
        // Encoders that are shutdown, but need to call release_gl_resources()
        // (or be deleted) from some thread with an OpenGL context.