Ignore:
Timestamp:
Feb 24, 2017 4:21:07 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1994): Updated dshow video device stop to not wait for renderer thread when renderer is not created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/dshow_dev.c

    r4962 r5560  
    10661066            pj_thread_sleep(10); 
    10671067    } 
    1068     for (i=0; !stream->rend_thread_exited && i<100; ++i) 
    1069         pj_thread_sleep(10); 
     1068    if (stream->param.dir & PJMEDIA_DIR_RENDER) { 
     1069        for (i=0; !stream->rend_thread_exited && i<100; ++i) 
     1070            pj_thread_sleep(10); 
     1071    } 
    10701072 
    10711073    if (stream->dgraph.media_filter) 
Note: See TracChangeset for help on using the changeset viewer.