shithub: openh264

Download patch

ref: 783daf3d8a8895cd1e97dc5953e5af4308b51e75
parent: 08baf652514a98b7c8b21df69f843609388fa1db
parent: e061bb3fc94ac50ae32bd3a9d1ca05a83ab93995
author: sijchen <[email protected]>
date: Tue Nov 4 04:31:07 EST 2014

Merge pull request #1485 from ruil2/cabac_refine

pass each frame timestamp to codec

--- a/module/gmp-openh264.cpp
+++ b/module/gmp-openh264.cpp
@@ -382,7 +382,7 @@
     src.pData[3] = nullptr;
     src.iPicWidth = inputImage->Width();
     src.iPicHeight = inputImage->Height();
-
+    src.uiTimeStamp = inputImage->Timestamp();
     const SSourcePicture* pics = &src;
 
     int result = encoder_->EncodeFrame (pics, &encoded);