]> git.sesse.net Git - nageru/blobdiff - quicksync_encoder.h
Make QuickSyncEncoder get its textures from ResourcePool.
[nageru] / quicksync_encoder.h
index 40bf15e90904bdb682906e7f130e2a33ef184f08..4f2bca5a3236e73fa6a3e12742922bed80cf2076 100644 (file)
@@ -42,12 +42,16 @@ class QuickSyncEncoderImpl;
 class QSurface;
 class X264Encoder;
 
+namespace movit {
+class ResourcePool;
+}  // namespace movit
+
 // 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, X264Encoder *x264_encoder);
+        QuickSyncEncoder(const std::string &filename, movit::ResourcePool *resource_pool, 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<float> audio);