summaryrefslogtreecommitdiff
path: root/firefox-vaapi-extra-frames.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-05-13 14:36:47 +0200
committerMartin Stransky <stransky@redhat.com>2020-05-13 14:36:47 +0200
commitd48800a4fb529d7fd773c63847d33d95d2b4e65b (patch)
tree4569e85b9ae3fcb39a1ce911861c194cb8328091 /firefox-vaapi-extra-frames.patch
parentUpdated to 76.0.1 (diff)
downloadlibrewolf-fedora-ff-d48800a4fb529d7fd773c63847d33d95d2b4e65b.tar.gz
librewolf-fedora-ff-d48800a4fb529d7fd773c63847d33d95d2b4e65b.tar.bz2
librewolf-fedora-ff-d48800a4fb529d7fd773c63847d33d95d2b4e65b.zip
Added extra va-api frames to vp8/9 decoder.
Diffstat (limited to 'firefox-vaapi-extra-frames.patch')
-rw-r--r--firefox-vaapi-extra-frames.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/firefox-vaapi-extra-frames.patch b/firefox-vaapi-extra-frames.patch
new file mode 100644
index 0000000..c2ed7a2
--- /dev/null
+++ b/firefox-vaapi-extra-frames.patch
@@ -0,0 +1,14 @@
+diff -up firefox-76.0.1/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp.old firefox-76.0.1/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
+--- firefox-76.0.1/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp.old 2020-05-13 14:28:26.556800474 +0200
++++ firefox-76.0.1/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp 2020-05-13 14:28:31.562768959 +0200
+@@ -43,7 +43,7 @@ typedef int VAStatus;
+ #endif
+
+ // Use some extra HW frames for potential rendering lags.
+-#define EXTRA_HW_FRAMES 6
++#define EXTRA_HW_FRAMES 20
+
+ typedef mozilla::layers::Image Image;
+ typedef mozilla::layers::PlanarYCbCrImage PlanarYCbCrImage;
+diff -up firefox-76.0.1/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-76.0.1/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-76.0.1/media/webrtc/trunk/Makefile.old firefox-76.0.1/media/webrtc/trunk/Makefile
bgstack15