commit 8b5ea73366c4e0c47452c99186dab6f9916efe58
Author: Kevin Kofler <kevin.kofler(a)chello.at>
Date: Tue Feb 20 03:31:57 2018 +0100
Backport
https://chromium-review.googlesource.com/889686
https://chromium-review.googlesource.com/c/chromium/src/+/889686
media: Increase DecoderBuffer::kPaddingSize to 64
qt5-qtwebengine-freeworld.spec | 1 +
qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch | 12 ++++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/qt5-qtwebengine-freeworld.spec b/qt5-qtwebengine-freeworld.spec
index c913faf..2acf3f5 100644
--- a/qt5-qtwebengine-freeworld.spec
+++ b/qt5-qtwebengine-freeworld.spec
@@ -107,6 +107,7 @@ Patch23: qtwebengine-everywhere-src-5.10.0-QTBUG-64759.patch
Patch100: qtwebengine-everywhere-src-5.10.0-no-aspirational-scripts.patch
# fix build with FFmpeg 3.5 (apply conditionally because it breaks older FFmpeg)
# backport of:
https://chromium-review.googlesource.com/c/chromium/src/+/754261
+#
https://chromium-review.googlesource.com/c/chromium/src/+/889686
Patch101: qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
diff --git a/qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch
b/qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch
index 9b8ec0e..92fce9e 100644
--- a/qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch
+++ b/qtwebengine-everywhere-src-5.10.1-ffmpeg35.patch
@@ -1,3 +1,15 @@
+diff -ur
qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/media/base/decoder_buffer.h
qtwebengine-everywhere-src-5.10.1-ffmpeg35/src/3rdparty/chromium/media/base/decoder_buffer.h
+---
qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/media/base/decoder_buffer.h 2018-02-02
11:39:52.000000000 +0100
++++
qtwebengine-everywhere-src-5.10.1-ffmpeg35/src/3rdparty/chromium/media/base/decoder_buffer.h 2018-02-20
03:30:04.193950423 +0100
+@@ -37,7 +37,7 @@
+ : public base::RefCountedThreadSafe<DecoderBuffer> {
+ public:
+ enum {
+- kPaddingSize = 32,
++ kPaddingSize = 64,
+ #if defined(ARCH_CPU_ARM_FAMILY)
+ kAlignmentSize = 16
+ #else
diff -ur
qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc
qtwebengine-everywhere-src-5.10.1-ffmpeg35/src/3rdparty/chromium/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc
---
qtwebengine-everywhere-src-5.10.1/src/3rdparty/chromium/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc 2018-02-02
11:39:52.000000000 +0100
+++
qtwebengine-everywhere-src-5.10.1-ffmpeg35/src/3rdparty/chromium/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc 2018-02-20
00:36:46.538199224 +0100