add shm check log

This commit is contained in:
epitchi 2024-04-16 23:01:28 +07:00
parent 6903575e31
commit 3355dc205b

View File

@ -154,8 +154,10 @@ main(int argc, char *argv[]) {
}
//Get buffer local address from handle
BOOST_LOG(info) << "Allocating shared memory"sv;
SharedMemory* memory = obtain_shared_memory(argv[1]);
BOOST_LOG(info) << "Allocated shared memory"sv;
auto video_capture = [&](safe::mail_t mail, char* displayin,int codec){
std::optional<std::string> display = std::nullopt;
if (strlen(displayin) > 0)