Changeset 3720 for pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
- Timestamp:
- Aug 24, 2011 8:00:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
r3718 r3720 522 522 if (sf->sdl_thread) { 523 523 pj_sem_post(sf->sem); 524 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 525 /* To prevent pj_thread_join() of getting stuck if we are in 526 * the main thread and we haven't finished processing the job 527 * posted by sdl_thread. 528 */ 529 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); 530 #endif 524 531 pj_thread_join(sf->sdl_thread); 525 532 }
Note: See TracChangeset
for help on using the changeset viewer.