X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.h;h=adf957818da9200390068f96460b4b1c335725a4;hb=6afdb5d6c2a5949fcd956afbd0a2f8f2699587ed;hp=caf33af0c8de3d2c72af8e56dcf8d57f60ef3eb0;hpb=6db9385e3864fef2b4b8b292f25bca68d657164a;p=nageru diff --git a/h264encode.h b/h264encode.h index caf33af..adf9578 100644 --- a/h264encode.h +++ b/h264encode.h @@ -50,6 +50,7 @@ public: void add_audio(int64_t pts, std::vector audio); // Needs to come before end_frame() of same pts. bool begin_frame(GLuint *y_tex, GLuint *cbcr_tex); void end_frame(RefCountedGLsync fence, int64_t pts, const std::vector &input_frames); + void shutdown(); // Blocking. private: std::unique_ptr impl;