X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fvideo_encoder.h;h=6301f50d3d7274283b22dc942882a9ee58ba697b;hb=HEAD;hp=91d2c756471a90eac5dbdc3b6d3e60982580fc59;hpb=1ea13d66da4aca375505b550bd207ad1c14d298f;p=nageru diff --git a/nageru/video_encoder.h b/nageru/video_encoder.h index 91d2c75..6301f50 100644 --- a/nageru/video_encoder.h +++ b/nageru/video_encoder.h @@ -6,6 +6,7 @@ #define _VIDEO_ENCODER_H #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include extern "C" { #include @@ -120,6 +120,7 @@ private: std::atomic quicksync_encoders_in_shutdown{0}; std::atomic overriding_bitrate{0}; + std::atomic should_quit{false}; // Encoders that are shutdown, but need to call release_gl_resources() // (or be deleted) from some thread with an OpenGL context.