X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.cpp;h=02ada023b182879a0f0bf3fea15d3302dcad541b;hb=c9dffdd52a4847c6cf5590e8c45d1cf5ee6177d3;hp=d5c9e8c9e70a905cb4bef7ee53144e3c1aa91836;hpb=6afdb5d6c2a5949fcd956afbd0a2f8f2699587ed;p=nageru diff --git a/h264encode.cpp b/h264encode.cpp index d5c9e8c..02ada02 100644 --- a/h264encode.cpp +++ b/h264encode.cpp @@ -110,7 +110,7 @@ class H264EncoderImpl { public: H264EncoderImpl(QSurface *surface, int width, int height, HTTPD *httpd); ~H264EncoderImpl(); - void add_audio(int64_t pts, vector audio); // Needs to come before end_frame() of same pts. + void add_audio(int64_t pts, vector audio); bool begin_frame(GLuint *y_tex, GLuint *cbcr_tex); void end_frame(RefCountedGLsync fence, int64_t pts, const vector &input_frames); void shutdown();