This is useful if using a muxer that requires the SPS/PPS to be available before the first frame is encoded.
Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 5 files). Show all
Unified · Split
| @@ -730,6 +730,10 @@ int CWelsH264SVCEncoder::EncodeFrame (const SSourcePicture** pSrcPicList, int · 729 unmodified lines | ||
| 730 | 730 | |
| 731 | 731 | } |
| 732 | 732 | |
| 733 | +int CWelsH264SVCEncoder::EncodeParameterSets (SFrameBSInfo* pBsInfo) { | |
| 734 | + return WelsEncoderEncodeParameterSets (m_pEncContext, pBsInfo); | |
| 735 | +} | |
| 736 | + | |
| 733 | 737 | /* |
| 734 | 738 | * return: 0 - success; otherwise - failed; |
| 735 | 739 | */ |