* use pthread_join instead of pthread_tryjoin_np

This commit is contained in:
Sune1337 2015-04-08 22:15:54 +02:00
parent c39984b228
commit 5779b2e20f
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ int FfmpegCamera::Capture( Image &image )
void *retval = 0; void *retval = 0;
int ret; int ret;
ret = pthread_tryjoin_np(mReopenThread, &retval); ret = pthread_join(mReopenThread, &retval);
if (ret != 0){ if (ret != 0){
Error("Could not join reopen thread."); Error("Could not join reopen thread.");
} }