X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=x264_encoder.h;h=ef118c6f4410d7e3554aad2a4e8354d6875e1c0b;hb=16c0e5da7fa7b4eeea79470c24697a1ba193f071;hp=729cb7f02bcc0063861aa946ec700e6321e566b8;hpb=59367b8add7962e605b829a3e2997411e0ee82fe;p=nageru diff --git a/x264_encoder.h b/x264_encoder.h index 729cb7f..ef118c6 100644 --- a/x264_encoder.h +++ b/x264_encoder.h @@ -31,6 +31,7 @@ extern "C" { } class Mux; +class X264SpeedControl; class X264Encoder { public: @@ -72,6 +73,7 @@ private: std::thread encoder_thread; std::atomic should_quit{false}; x264_t *x264; + std::unique_ptr speed_control; // Protects everything below it. std::mutex mu;