]> git.sesse.net Git - casparcg/commitdiff
What the? somehow one of the mutex's got removed. - fixing
authorJames Wise <james.wise@bluefish444.com>
Fri, 10 Feb 2017 02:34:04 +0000 (13:34 +1100)
committerJames Wise <james.wise@bluefish444.com>
Fri, 10 Feb 2017 02:34:04 +0000 (13:34 +1100)
modules/bluefish/consumer/bluefish_consumer.cpp

index 6d204bf345d484f55d97db4f811a47600f99894e..98817c67742e8112535526e7bf115b9409954c2b 100644 (file)
@@ -135,6 +135,7 @@ struct bluefish_consumer : boost::noncopyable
 
        std::array<blue_dma_buffer_ptr, 4>                                      all_frames_;    
        std::queue<blue_dma_buffer_ptr>                                         reserved_frames_;
+       std::mutex                                                                                      reserved_frames_lock_;
        std::queue<blue_dma_buffer_ptr>                                         live_frames_;
        std::mutex                                                                                      live_frames_lock_;
        std::shared_ptr<std::thread>                                            dma_present_thread_;