X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=quicksync_encoder_impl.h;h=85ac3ab980d525369e7f9c788d31dd0b8208ce78;hb=5eb4be2bd63d1590eac0e018f23bf00856b90194;hp=917420ca41af16a81ffdd3668bd6ea38f3fb78cc;hpb=fdf765b229349a1d1a30414341957a4d10a0b6c9;p=nageru diff --git a/quicksync_encoder_impl.h b/quicksync_encoder_impl.h index 917420c..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;