History

add timestamp in encoder interface

unknown committed 12 years ago

Commit e0e71071 parent b5529442 files · +3 −1Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−1
@@ -2998,7 +2998,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 2997 unmodified lines
29982998
29992999 pCtx->iEncoderError = ENC_RETURN_SUCCESS;
30003000 pFbi->iLayerNum = 0; // for initialization
3001−
3001+ pFbi->uiTimeStamp = pSrcPic->uiTimeStamp;
30023002 // perform csc/denoise/downsample/padding, generate spatial layers
30033003 iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, &pSrcPic, 1);
30043004 if (iSpatialNum < 1) { // skip due to temporal layer settings (different frame rate)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t