From 3de3b49c358eb5113ad01b71a96a5b16f9109750 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 10 Jan 2016 14:20:42 +0100 Subject: [PATCH] Remove a no-longer-correct comment. --- h264encode.cpp | 2 +- h264encode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); 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. -- 2.39.2