X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.h;h=0d70524e76d5a73d01977e1852a434a59280e947;hb=726e2b853e3b2f080a981546480eb8291b57f458;hp=f0fcfae0309828b1fbe4826e6dd1d186a1e92ed8;hpb=3de3b49c358eb5113ad01b71a96a5b16f9109750;p=nageru diff --git a/h264encode.h b/h264encode.h index f0fcfae..0d70524 100644 --- a/h264encode.h +++ b/h264encode.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "ref_counted_frame.h" @@ -44,7 +45,7 @@ class QSurface; // .cpp file. class H264Encoder { public: - H264Encoder(QSurface *surface, int width, int height, HTTPD *httpd); + H264Encoder(QSurface *surface, const std::string &va_display, int width, int height, HTTPD *httpd); ~H264Encoder(); void add_audio(int64_t pts, std::vector audio);