X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fdecklink_output.h;h=f1b40f468abdd703eb8df9c1e0410d3a78696d29;hb=cd1b6b6b8dd3d4d6f52d917cec3e5a152f87e822;hp=2c07bc72ccae0c32c8300081d473eebaf6bc7af9;hpb=b9a74fdb2aaaec5f2859945f25bff9295da444e1;p=nageru diff --git a/nageru/decklink_output.h b/nageru/decklink_output.h index 2c07bc7..f1b40f4 100644 --- a/nageru/decklink_output.h +++ b/nageru/decklink_output.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -133,7 +134,8 @@ private: std::mutex frame_queue_mutex; std::queue> pending_video_frames; // Under . std::queue> frame_freelist; // Under . - int num_frames_in_flight = 0; // Number of frames allocated but not on the freelist. Under . + std::deque scheduled_frames; // Owned by the driver, so no unique_ptr. Under . + std::condition_variable frame_queues_changed; bool playback_initiated = false, playback_started = false; int64_t base_pts, frame_duration;