* use pthread_join instead of pthread_tryjoin_np
This commit is contained in:
parent
c39984b228
commit
5779b2e20f
|
@ -120,7 +120,7 @@ int FfmpegCamera::Capture( Image &image )
|
|||
void *retval = 0;
|
||||
int ret;
|
||||
|
||||
ret = pthread_tryjoin_np(mReopenThread, &retval);
|
||||
ret = pthread_join(mReopenThread, &retval);
|
||||
if (ret != 0){
|
||||
Error("Could not join reopen thread.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue