X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.h;h=527074e297bbb759506dbe18f028bd994365c7d5;hb=e45ebd282e3c6c369475ef0987945eca62ef8f58;hp=43a56c609c147448d834751b5e81a89bcf9c1cdc;hpb=410a5fadcba336c918843cd55e1516cf4fe56abc;p=nageru diff --git a/h264encode.h b/h264encode.h index 43a56c6..527074e 100644 --- a/h264encode.h +++ b/h264encode.h @@ -53,6 +53,10 @@ public: RefCountedGLsync end_frame(int64_t pts, const std::vector &input_frames); void shutdown(); // Blocking. + // You can only have one going at the same time. + void open_output_file(const std::string &filename); + void close_output_file(); + private: std::unique_ptr impl; };