Changeset 5864
- Timestamp:
- Aug 21, 2018 8:06:43 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/vid_port.c
r5862 r5864 649 649 const pjmedia_video_format_info *vfi; 650 650 pjmedia_video_apply_fmt_param vafp; 651 652 vfi = pjmedia_get_video_format_info(NULL, vparam.fmt.id); 651 const pjmedia_vid_dev_param *vparam_src; 652 653 vparam_src = (vp->dir & PJMEDIA_DIR_RENDER)? &prm->vidparam: 654 &vparam; 655 656 vfi = pjmedia_get_video_format_info(NULL, vparam_src->fmt.id); 653 657 if (!vfi) { 654 658 status = PJ_ENOTFOUND; … … 657 661 658 662 pj_bzero(&vafp, sizeof(vafp)); 659 vafp.size = vparam .fmt.det.vid.size;663 vafp.size = vparam_src->fmt.det.vid.size; 660 664 status = vfi->apply_fmt(vfi, &vafp); 661 665 if (status != PJ_SUCCESS)
Note: See TracChangeset
for help on using the changeset viewer.