Changeset 3721 for pjproject/trunk


Ignore:
Timestamp:
Aug 24, 2011 6:35:27 PM (13 years ago)
Author:
nanang
Message:

Re #1327 (vidgui): Fix stuck/hang when quiting vidgui without stopping video preview. Somehow the SDL will stuck (wait forever) in destroying its render window when the render window parent (VidWin?) hasn't been destroyed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/vidgui/vidgui.cpp

    r3720 r3721  
    105105void MainWin::quit() 
    106106{ 
    107     if (preview_on) 
    108         preview(); 
     107    //if (preview_on) 
     108        //preview(); 
     109 
     110    delete video_prev_; 
     111    video_prev_ = NULL; 
     112    delete video_; 
     113    video_ = NULL; 
     114 
    109115    pjsua_destroy(); 
    110116    qApp->quit(); 
Note: See TracChangeset for help on using the changeset viewer.