Add an encoder method for encoding the SPS/PPS without encoding a frame

This is useful if using a muxer that requires the SPS/PPS to be
available before the first frame is encoded.
This commit is contained in:
Martin Storsjö
2014-01-10 20:46:05 +02:00
parent f02d0aa667
commit 2766215545
5 changed files with 47 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ void WelsUninitEncoderExt (sWelsEncCtx** ppCtx);
int32_t WelsEncoderEncodeExt (sWelsEncCtx*, void* pDst, const SSourcePicture** kppSrcList,
const int32_t kiConfiguredLayerNum);
int32_t WelsEncoderEncodeParameterSets (sWelsEncCtx* pCtx, void* pDst);
/*
* Force coding IDR as follows
*/