]> git.sesse.net Git - nageru/blobdiff - quicksync_encoder.h
Move the entire stream mux logic from QuickSyncEncoder into VideoEncoder.
[nageru] / quicksync_encoder.h
index 3c98a1b24d9264771ef8b10481e57cc8b7dd39fe..495ddae48d998c00f1a927515c5330d0f0a44033 100644 (file)
 #include <string>
 #include <vector>
 
+#include "mux.h"
 #include "ref_counted_frame.h"
 #include "ref_counted_gl_sync.h"
 
 class QuickSyncEncoderImpl;
-class HTTPD;
 class QSurface;
 
 // This is just a pimpl, because including anything X11-related in a .h file
@@ -45,7 +45,7 @@ class QSurface;
 // .cpp file.
 class QuickSyncEncoder {
 public:
-        QuickSyncEncoder(QSurface *surface, const std::string &va_display, int width, int height, HTTPD *httpd);
+        QuickSyncEncoder(QSurface *surface, const std::string &va_display, int width, int height, Mux *stream_mux);
         ~QuickSyncEncoder();
 
        void add_audio(int64_t pts, std::vector<float> audio);