shithub: openh264

Download patch

ref: 4b52d99d97ec6f1e99d6604400ccdc80bf79f4f2
parent: 6afdf36eccf74973f87d3efe710220ad77cb0797
author: ruil2 <[email protected]>
date: Mon Jan 26 04:56:11 EST 2015

use the new no delay decoderframe interface instead of old one

--- a/module/gmp-openh264.cpp
+++ b/module/gmp-openh264.cpp
@@ -681,7 +681,7 @@
     memset (&decoded, 0, sizeof (decoded));
     unsigned char* data[3] = {nullptr, nullptr, nullptr};
 
-    dState = decoder_->DecodeFrame2 (inputFrame->Buffer(),
+    dState = decoder_->DecodeFrameNoDelay (inputFrame->Buffer(),
                                      inputFrame->Size(),
                                      data,
                                      &decoded);