update main.cpp
add asynchronous code using pthread
skip texture submission when the capture have been failed
skip texture submission when the capture have been failed
Merge branch 'sync'
add CaptureWorker class to manage capture thread
add CaptureWorker class to manage capture thread
add CaptureWorker class to manage capture thread
add CaptureWorker class to manage capture thread
Merge branch 'async'
correct typo