]> git.sesse.net Git - nageru/blobdiff - mixer.h
Split interlaced frames into two fields that are sent along separately to the mixer...
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 6cd912637f2ec081f5f33b8890854c240247152a..76aec682c5d71773c7d3909de60ed2d9a58a76a8 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -210,6 +210,7 @@ private:
                bool should_quit = false;
                RefCountedFrame new_frame;
                int64_t new_frame_length;  // In TIMEBASE units.
+               unsigned new_frame_field;  // Which field (0 or 1) of the frame to use.
                GLsync new_data_ready_fence;  // Whether new_frame is ready for rendering.
                std::condition_variable new_data_ready_changed;  // Set whenever new_data_ready is changed.
                unsigned dropped_frames = 0;  // Before new_frame.