Added support for OpenH264v1.2

This commit is contained in:
Armin Novak 2014-11-16 14:32:52 +01:00
parent 7a6c6b7436
commit b5d7c30639

View File

@ -193,8 +193,8 @@ static BOOL openh264_init(H264_CONTEXT* h264)
}
ZeroMemory(&sDecParam, sizeof(sDecParam));
sDecParam.iOutputColorFormat = videoFormatI420;
sDecParam.uiEcActiveFlag = 1;
sDecParam.eOutputColorFormat = videoFormatI420;
sDecParam.eEcActiveIdc = ERROR_CON_FRAME_COPY;
sDecParam.sVideoProperty.eVideoBsType = VIDEO_BITSTREAM_DEFAULT;
status = (*sys->pDecoder)->Initialize(sys->pDecoder, &sDecParam);