+9
-1
lines changedFilter options
+9
-1
lines changed Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ LIBDIR_NAME=lib
29
29
SHAREDLIB_DIR=$(PREFIX)/lib
30
30
PROJECT_NAME=openh264
31
31
MODULE_NAME=gmpopenh264
32
-
GMP_API_BRANCH=Firefox114_2
32
+
GMP_API_BRANCH=Firefox135
33
33
GTEST_VER=release-1.8.1
34
34
CCASFLAGS=$(CFLAGS)
35
35
STATIC_LDFLAGS=-lstdc++
Original file line number Diff line number Diff line change
@@ -445,6 +445,10 @@ class OpenH264VideoEncoder : public GMPVideoEncoder, public RefCounted {
445
445
}
446
446
}
447
447
448
+
if (gmp_api_version_ >= kGMPVersion36) {
449
+
param.iTemporalLayerNum = codecSettings.mTemporalLayerNum;
450
+
}
451
+
448
452
//for controlling the NAL size (normally for packetization-mode=0)
449
453
if (maxPayloadSize != 0) {
450
454
if (gmp_api_version_ < kGMPVersion35) {
@@ -741,6 +745,10 @@ class OpenH264VideoEncoder : public GMPVideoEncoder, public RefCounted {
741
745
f->SetCompleteFrame (true);
742
746
f->SetBufferType (GMP_BufferLength32);
743
747
748
+
if (gmp_api_version_ >= kGMPVersion36) {
749
+
f->SetTemporalLayerId (encoded->iLayerNum);
750
+
}
751
+
744
752
GMPLOG (GL_DEBUG, "Encoding complete. type= "
745
753
<< f->FrameType()
746
754
<< " length="
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4