Ignore:
Timestamp:
Apr 25, 2012 7:13:05 AM (10 years ago)
Author:
ming
Message:

Re #1446 (misc): Fix possible crash if video ports are destroyed in the wrong order (i.e. client port must be destroyed last).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c

    r4055 r4084  
    892892on_exit: 
    893893 
     894    /* Stop video devices */ 
     895    if (capture) 
     896        pjmedia_vid_port_stop(capture); 
     897    if (renderer) 
     898        pjmedia_vid_port_stop(renderer); 
     899 
    894900    /* Stop and destroy file clock */ 
    895901    if (play_clock) { 
Note: See TracChangeset for help on using the changeset viewer.