]> git.sesse.net Git - nageru/blobdiff - video_stream.h
Fix issues with displaying faded interpolating frames in the preview.
[nageru] / video_stream.h
index 146df0bedbae2abbb4887869b21d536319dc98ac..1439eb0db1ef1377fa920feadb2cfdae5bd8e8c5 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
 #include <movit/mix_effect.h>
 #include <movit/ycbcr_input.h>
 
+#include "jpeg_frame_view.h"
 #include "ref_counted_gl_sync.h"
 
 class ChromaSubsampler;
@@ -82,6 +83,7 @@ private:
                InterpolatedFrameResources resources;
                RefCountedGLsync fence;  // Set when the interpolated image is read back to the CPU.
                GLuint flow_tex, output_tex, cbcr_tex;  // Released in the receiving thread; not really used for anything else.
+               JPEGID id;
        };
        std::deque<QueuedFrame> frame_queue;  // Under <queue_lock>.
        std::mutex queue_lock;