]> git.sesse.net Git - nageru/blobdiff - h264encode.h
Pull the file muxing out of the HTTPD. (It was pretty ugly all along.)
[nageru] / h264encode.h
index 43a56c609c147448d834751b5e81a89bcf9c1cdc..527074e297bbb759506dbe18f028bd994365c7d5 100644 (file)
@@ -53,6 +53,10 @@ public:
        RefCountedGLsync end_frame(int64_t pts, const std::vector<RefCountedFrame> &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<H264EncoderImpl> impl;
 };