X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.h;h=f0fcfae0309828b1fbe4826e6dd1d186a1e92ed8;hb=2c8eee23b6b475fb687d6edcc8113baf78e12905;hp=adf957818da9200390068f96460b4b1c335725a4;hpb=6afdb5d6c2a5949fcd956afbd0a2f8f2699587ed;p=nageru diff --git a/h264encode.h b/h264encode.h index adf9578..f0fcfae 100644 --- a/h264encode.h +++ b/h264encode.h @@ -47,7 +47,7 @@ public: H264Encoder(QSurface *surface, int width, int height, HTTPD *httpd); ~H264Encoder(); - void add_audio(int64_t pts, std::vector audio); // Needs to come before end_frame() of same pts. + void add_audio(int64_t pts, std::vector audio); 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.