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/pjmedia/src/test/vid_dev_test.c

    r4049 r4084  
    192192 
    193193    if (capture) 
     194        pjmedia_vid_port_stop(capture); 
     195    if (renderer) 
     196        pjmedia_vid_port_stop(renderer); 
     197    if (capture) 
    194198        pjmedia_vid_port_destroy(capture); 
    195199    if (renderer) { 
Note: See TracChangeset for help on using the changeset viewer.