Ignore:
Timestamp:
Aug 29, 2011 2:33:50 AM (9 years ago)
Author:
ming
Message:

Fixed #1354: stopping preview may hide parent window.

File:
1 edited

Legend:

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

    r3726 r3728  
    221221        //status = pjsua_vid_win_set_show(wid, PJ_TRUE); 
    222222        //This is handled by VidWin now 
    223         //video_prev_->show(); 
     223        //video_prev_->show_sdl(); 
    224224        showStatus("Preview started"); 
    225225 
     
    624624 
    625625}; 
     626static int main_func(int argc, char *argv[]) 
     627{ 
     628    return 0; 
     629} 
    626630 
    627631int main(int argc, char *argv[]) 
    628632{ 
     633    pj_run_app(&main_func, argc, argv, 0); 
     634     
    629635    /* At least on Linux, we have to initialize SDL video subsystem prior to 
    630636     * creating/initializing QApplication, otherwise we'll segfault miserably 
Note: See TracChangeset for help on using the changeset viewer.