]> git.sesse.net Git - nageru/blobdiff - nageru/decklink_output.h
Move texture uploading out of a lambda.
[nageru] / nageru / decklink_output.h
index 44eb86dea9860e6480c4552aeaf352a5990bf979..2c07bc72ccae0c32c8300081d473eebaf6bc7af9 100644 (file)
 #include "DeckLinkAPITypes.h"
 #include "LinuxCOM.h"
 
-#include "context.h"
+#include "shared/context.h"
 #include "print_latency.h"
 #include "quittable_sleeper.h"
 #include "ref_counted_frame.h"
-#include "ref_counted_gl_sync.h"
+#include "shared/ref_counted_gl_sync.h"
 
 namespace movit {
 
@@ -141,6 +141,7 @@ private:
        bool last_frame_had_mode_mismatch = false;
 
        movit::ResourcePool *resource_pool;
+       IDeckLinkInput *input = nullptr;
        IDeckLinkOutput *output = nullptr;
        BMDVideoConnection video_connection;
        QSurface *surface;