class X264Encoder {
public:
- X264Encoder(AVOutputFormat *oformat); // Does not take ownership.
+ X264Encoder(const 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.
std::unique_ptr<uint8_t[]> frame_pool;
std::vector<Mux *> 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.