Ignore:
Timestamp:
Oct 6, 2011 7:48:07 AM (13 years ago)
Author:
bennylp
Message:

Misc (re #1370): pjsua hide preview window when setting preview off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3798 r3800  
    38813881                    arrange_window(pjsua_vid_preview_get_win(dev_id)); 
    38823882                } else { 
    3883                     pjsua_vid_preview_stop(dev_id); 
     3883                    pjsua_vid_win_id wid; 
     3884                    wid = pjsua_vid_preview_get_win(dev_id); 
     3885                    if (wid != PJSUA_INVALID_ID) { 
     3886                        /* Preview window hiding once it is stopped is 
     3887                         * responsibility of app */ 
     3888                        pjsua_vid_win_set_show(wid, PJ_FALSE); 
     3889                        pjsua_vid_preview_stop(dev_id); 
     3890                    } 
    38843891                } 
    38853892            } 
Note: See TracChangeset for help on using the changeset viewer.