X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=video_encoder.h;fp=video_encoder.h;h=81c48992f8c7620289e83abc458dd6e7ddbaf2ad;hb=3f34da3ebb9a6fd1ed267f9186d17433321a9214;hp=bf203f1438cbc2b1a2138fb1764fc576fa8b93c7;hpb=f6ba0b7586dfbdbee665a541ae5f5297063fedcc;p=nageru diff --git a/video_encoder.h b/video_encoder.h index bf203f1..81c4899 100644 --- a/video_encoder.h +++ b/video_encoder.h @@ -18,6 +18,7 @@ class HTTPD; class QSurface; class QuickSyncEncoder; +class X264Encoder; class VideoEncoder : public KeyFrameSignalReceiver { public: @@ -49,6 +50,7 @@ private: std::unique_ptr stream_mux; // To HTTP. std::unique_ptr stream_audio_encoder; + std::unique_ptr x264_encoder; // nullptr if not using x264. // While Mux object is constructing, is true, // and the header is being collected into stream_mux_header.