From cfd7462c6b3db9d0862940b7b7b7cb2e5bf1d2c9 Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Fri, 18 Oct 2024 10:51:48 +0200 Subject: [PATCH] Remove missingFrames arg from GMP API It is being removed from the interface in https://github.com/mozilla/gmp-api/pull/24. --- module/gmp-openh264.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/gmp-openh264.cpp b/module/gmp-openh264.cpp index 709388412..b3cb09648 100644 --- a/module/gmp-openh264.cpp +++ b/module/gmp-openh264.cpp @@ -898,7 +898,6 @@ class OpenH264VideoDecoder : public GMPVideoDecoder, public RefCounted { } virtual void Decode (GMPVideoEncodedFrame* inputFrame, - bool missingFrames, const uint8_t* aCodecSpecificInfo, uint32_t aCodecSpecificInfoLength, int64_t renderTimeMs = -1) { @@ -939,7 +938,6 @@ class OpenH264VideoDecoder : public GMPVideoDecoder, public RefCounted { worker_thread_->Post (WrapTaskRefCounted ( this, &OpenH264VideoDecoder::Decode_w, inputFrame, - missingFrames, dState, renderTimeMs)); if (dState) { @@ -1006,7 +1004,6 @@ class OpenH264VideoDecoder : public GMPVideoDecoder, public RefCounted { } void Decode_w (GMPVideoEncodedFrame* inputFrame, - bool missingFrames, DECODING_STATE& dState, int64_t renderTimeMs = -1) { GMPLOG (GL_DEBUG, "Frame decode on worker thread length = "