Changeset 4055


Ignore:
Timestamp:
Apr 16, 2012 9:44:25 AM (13 years ago)
Author:
nanang
Message:

Re #1441: applied window flags BORDER and RESIZABLE to the local preview when sending AVI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c

    r4051 r4055  
    817817        vpp.vidparam.fmt.det.vid.fps = play_port->info.fmt.det.vid.fps; 
    818818        vpp.vidparam.disp_size = vpp.vidparam.fmt.det.vid.size; 
     819        vpp.vidparam.flags |= PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS; 
     820        vpp.vidparam.window_flags = PJMEDIA_VID_DEV_WND_BORDER | 
     821                                    PJMEDIA_VID_DEV_WND_RESIZABLE; 
    819822 
    820823        status = pjmedia_vid_port_create(pool, &vpp, &renderer); 
Note: See TracChangeset for help on using the changeset viewer.