Changeset 4008 for pjproject/trunk
- Timestamp:
- Apr 3, 2012 4:03:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/vid_codec.c
r3956 r4008 723 723 /* Update codec default param */ 724 724 p->param = pjmedia_vid_codec_param_clone(pool, param); 725 if (!p )725 if (!p->param) 726 726 return PJ_EINVAL; 727 727 728 codec_desc->def_param = p; 728 729 729 730 pj_mutex_unlock(mgr->mutex); 731 732 /* Release old pool at the very end, as application tends to apply changes 733 * to the existing/old codec param fetched using 734 * pjmedia_vid_codec_mgr_get_default_param() which doesn't do deep clone. 735 */ 736 if (old_pool) 737 pj_pool_release(old_pool); 730 738 731 739 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.