X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.h;h=76aec682c5d71773c7d3909de60ed2d9a58a76a8;hb=5c8dc09f89df0f25434bcefc9102438d2b491df2;hp=6cd912637f2ec081f5f33b8890854c240247152a;hpb=0faba3d989c344d3db70f241a06761407d966bf7;p=nageru diff --git a/mixer.h b/mixer.h index 6cd9126..76aec68 100644 --- 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.