X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fquicksync_encoder.h;h=9f59c2c929b124d01666365a1ac9c551fc59f44a;hb=34500f1c000d1d0f6ffd4e050fc8e9cd779bcacf;hp=97109ce48ebb6bf985eb406d347c63576ae19716;hpb=bdc9f1ea04141e71906d486f9d254c3346835e72;p=nageru diff --git a/nageru/quicksync_encoder.h b/nageru/quicksync_encoder.h index 97109ce..9f59c2c 100644 --- a/nageru/quicksync_encoder.h +++ b/nageru/quicksync_encoder.h @@ -50,7 +50,7 @@ class Mux; class QSurface; class QuickSyncEncoderImpl; class RefCountedFrame; -class X264Encoder; +class VideoCodecInterface; namespace movit { class ResourcePool; @@ -63,7 +63,7 @@ class ResourcePool; // This class is _not_ thread-safe, except where mentioned. class QuickSyncEncoder { public: - QuickSyncEncoder(const std::string &filename, movit::ResourcePool *resource_pool, QSurface *surface, const std::string &va_display, int width, int height, const AVOutputFormat *oformat, X264Encoder *http_encoder, X264Encoder *disk_encoder, DiskSpaceEstimator *disk_space_estimator); + QuickSyncEncoder(const std::string &filename, movit::ResourcePool *resource_pool, QSurface *surface, const std::string &va_display, int width, int height, const AVOutputFormat *oformat, VideoCodecInterface *http_encoder, VideoCodecInterface *disk_encoder, DiskSpaceEstimator *disk_space_estimator); ~QuickSyncEncoder(); void set_stream_mux(Mux *mux); // Does not take ownership. Must be called unless x264 is used for the stream.