Changeset 3732 for pjproject/trunk


Ignore:
Timestamp:
Aug 29, 2011 4:16:14 AM (13 years ago)
Author:
bennylp
Message:

Fixed crash when call is disconnected while video is not fully running (e.g. ICE negotiation failed). [Re #1263]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c

    r3725 r3732  
    791791    pjmedia_event_unsubscribe(&call_med->esub_cap); 
    792792 
    793     if (call_med->dir & PJMEDIA_DIR_ENCODING && 
    794         call_med->strm.v.cap_win_id != PJSUA_INVALID_ID) 
    795     { 
     793    if (call_med->strm.v.cap_win_id != PJSUA_INVALID_ID) { 
    796794        pjmedia_port *media_port; 
    797795        pjsua_vid_win *w = 
     
    810808    } 
    811809 
    812     if (call_med->dir & PJMEDIA_DIR_DECODING && 
    813         call_med->strm.v.rdr_win_id != PJSUA_INVALID_ID) 
    814     { 
     810    if (call_med->strm.v.rdr_win_id != PJSUA_INVALID_ID) { 
    815811        dec_vid_win(call_med->strm.v.rdr_win_id); 
    816812    } 
Note: See TracChangeset for help on using the changeset viewer.