remove pause frame interface which will be done in application level
Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 5 files). Show all
Unified · Split
| @@ -507,23 +507,6 @@ int CWelsH264SVCEncoder::EncodeParameterSets (SFrameBSInfo* pBsInfo) { · 506 unmodified lines | |||
| 507 | return WelsEncoderEncodeParameterSets (m_pEncContext, pBsInfo); | 507 | return WelsEncoderEncodeParameterSets (m_pEncContext, pBsInfo); |
| 508 | } | 508 | } |
| 509 | 509 | ||
| 510 | /* | ||
| 511 | * return: 0 - success; otherwise - failed; | ||
| 512 | */ | ||
| 513 | int CWelsH264SVCEncoder::PauseFrame (const SSourcePicture* kpSrcPic, SFrameBSInfo* pBsInfo) { | ||
| 514 | int32_t iReturn = cmResultSuccess; | ||
| 515 | |||
| 516 | ForceIntraFrame (true); | ||
| 517 | |||
| 518 | iReturn = EncodeFrameInternal (kpSrcPic, pBsInfo); | ||
| 519 | // to avoid pause frame bitstream and | ||
| 520 | // normal bitstream use different video channel. | ||
| 521 | ForceIntraFrame (true); | ||
| 522 | |||
| 523 | return (int)iReturn; | ||
| 524 | } | ||
| 525 | |||
| 526 | |||
| 527 | /* | 510 | /* |
| 528 | * Force key frame | 511 | * Force key frame |
| 529 | */ | 512 | */ |