X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=quicksync_encoder_impl.h;h=85ac3ab980d525369e7f9c788d31dd0b8208ce78;hb=ece2a997307401c1d960c64dc738097cd72b2b7e;hp=f8243ff3384d650ddac583d34e8031ded3fac0b5;hpb=1df7849fad1d0647a02951abaa60f9e4f40ce360;p=nageru diff --git a/quicksync_encoder_impl.h b/quicksync_encoder_impl.h index f8243ff..85ac3ab 100644 --- a/quicksync_encoder_impl.h +++ b/quicksync_encoder_impl.h @@ -135,7 +135,7 @@ private: bool is_shutdown = false; bool has_released_gl_resources = false; - bool use_zerocopy; + std::atomic use_zerocopy; int drm_fd = -1; std::thread encode_thread, storage_thread; @@ -222,7 +222,6 @@ private: int frame_height_mbaligned; DiskSpaceEstimator *disk_space_estimator; - LatencyHistogram mixer_latency_histogram, qs_latency_histogram; }; #endif // !defined(_QUICKSYNC_ENCODER_IMPL_H)