X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=quicksync_encoder.h;h=40bf15e90904bdb682906e7f130e2a33ef184f08;hb=3f34da3ebb9a6fd1ed267f9186d17433321a9214;hp=9ec7c85b88a28e76777b8474ec6449fdd61eceaa;hpb=f6ba0b7586dfbdbee665a541ae5f5297063fedcc;p=nageru diff --git a/quicksync_encoder.h b/quicksync_encoder.h index 9ec7c85..40bf15e 100644 --- a/quicksync_encoder.h +++ b/quicksync_encoder.h @@ -40,13 +40,14 @@ class AudioEncoder; class Mux; class QuickSyncEncoderImpl; class QSurface; +class X264Encoder; // This is just a pimpl, because including anything X11-related in a .h file // tends to trip up Qt. All the real logic is in QuickSyncEncoderImpl, defined in the // .cpp file. class QuickSyncEncoder { public: - QuickSyncEncoder(const std::string &filename, QSurface *surface, const std::string &va_display, int width, int height, Mux *stream_mux, AudioEncoder *stream_audio_encoder); + QuickSyncEncoder(const std::string &filename, QSurface *surface, const std::string &va_display, int width, int height, Mux *stream_mux, AudioEncoder *stream_audio_encoder, X264Encoder *x264_encoder); ~QuickSyncEncoder(); void add_audio(int64_t pts, std::vector audio);