X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fdecklink_output.cpp;h=ed66212a26bf0ddfa0ab0cfac4214f6b7430d7e8;hb=f9a11c73b0c2ff2d44d79f856998f8cbfc88a478;hp=28f433a8872945b3191608cc7283eea5fea4669e;hpb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;p=nageru diff --git a/nageru/decklink_output.cpp b/nageru/decklink_output.cpp index 28f433a..ed66212 100644 --- a/nageru/decklink_output.cpp +++ b/nageru/decklink_output.cpp @@ -12,9 +12,9 @@ #include "decklink_output.h" #include "decklink_util.h" #include "flags.h" -#include "metrics.h" +#include "shared/metrics.h" #include "print_latency.h" -#include "timebase.h" +#include "shared/timebase.h" #include "v210_converter.h" using namespace movit; @@ -317,7 +317,7 @@ void DeckLinkOutput::send_frame(GLuint y_tex, GLuint cbcr_tex, YCbCrLumaCoeffici frame->duration = duration; { - unique_lock lock(frame_queue_mutex); + lock_guard lock(frame_queue_mutex); pending_video_frames.push(move(frame)); } frame_queues_changed.notify_all();