]> git.sesse.net Git - nageru/blobdiff - decklink_output.h
Make for clean shutdown of the output cards.
[nageru] / decklink_output.h
index 0545bb7d697971dc5a408297b5ed57ff310b7779..122c8fe702445804088a2aaf71d81e3053f57b18 100644 (file)
@@ -117,7 +117,7 @@ private:
        std::queue<std::unique_ptr<Frame>> frame_freelist;  // Under <frame_queue_mutex>.
        int num_frames_in_flight = 0;  // Number of frames allocated but not on the freelist. Under <frame_queue_mutex>.
        std::condition_variable frame_queues_changed;
-       bool playback_started = false;
+       bool playback_initiated = false, playback_started = false;
        int64_t base_pts, frame_duration;
 
        movit::ResourcePool *resource_pool;