X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fx264_encoder.h;h=9995c3f370452ba300b97d34e952f5c60f514a51;hb=8202dbe236c5e206989c383004f9dba116ea12bd;hp=7b8751715250d5f34147f7f11d9a8d83df409037;hpb=70e2471c1297f5ee5592918a736224841d8e4d77;p=nageru diff --git a/nageru/x264_encoder.h b/nageru/x264_encoder.h index 7b87517..9995c3f 100644 --- a/nageru/x264_encoder.h +++ b/nageru/x264_encoder.h @@ -42,7 +42,7 @@ class X264SpeedControl; class X264Encoder { public: - X264Encoder(AVOutputFormat *oformat); // Does not take ownership. + X264Encoder(AVOutputFormat *oformat, bool use_separate_disk_params); // Does not take ownership. // Called after the last frame. Will block; once this returns, // the last data is flushed. @@ -86,7 +86,8 @@ private: std::unique_ptr frame_pool; std::vector muxes; - bool wants_global_headers; + const bool wants_global_headers; + const bool use_separate_disk_params; std::string global_headers; std::string buffered_sei; // Will be output before first frame, if any.