Changeset 5440 for pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
- Timestamp:
- Sep 27, 2016 3:12:13 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
r5405 r5440 509 509 SM_SINGLE_SLICE : 510 510 SM_SIZELIMITED_SLICE); 511 elayer_ctx.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu; 511 512 /* uiSliceSizeConstraint = uiMaxNalSize - NAL_HEADER_ADD_0X30BYTES */ 513 elayer_ctx.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu - 50; 512 514 elayer_ctx.sSliceArgument.uiSliceNum = 1; 513 515 elayer_ctx.sSliceArgument.uiSliceMbNum[0] = 960;
Note: See TracChangeset
for help on using the changeset viewer.