Changeset 4867
- Timestamp:
- Jul 2, 2014 5:55:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
r4864 r4867 563 563 } 564 564 565 int32_t color_fmt = videoFormatI420;565 pj_int32_t color_fmt = videoFormatI420; 566 566 rc = oh264_data->dec->SetOption (DECODER_OPTION_DATAFORMAT, &color_fmt); 567 567 if (rc) { … … 648 648 } 649 649 650 if (oh264_data->bsi.e OutputFrameType == videoFrameTypeSkip) {650 if (oh264_data->bsi.eFrameType == videoFrameTypeSkip) { 651 651 output->size = 0; 652 652 output->type = PJMEDIA_FRAME_TYPE_NONE; … … 747 747 output->size = payload_len; 748 748 749 if (oh264_data->bsi.e OutputFrameType == videoFrameTypeIDR) {749 if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) { 750 750 output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME; 751 751 } … … 796 796 output->size = payload_len; 797 797 798 if (oh264_data->bsi.e OutputFrameType == videoFrameTypeIDR) {798 if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) { 799 799 output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME; 800 800 } … … 1045 1045 1046 1046 /* Signal that we have no more frames */ 1047 int32_t iEndOfStreamFlag; 1048 iEndOfStreamFlag = true; 1047 pj_int32_t iEndOfStreamFlag = true; 1049 1048 oh264_data->dec->SetOption( DECODER_OPTION_END_OF_STREAM, 1050 1049 (void*)&iEndOfStreamFlag);
Note: See TracChangeset
for help on using the changeset viewer.