[packages/chromium-browser] - enable video decode accel patch (will have some meaning for chromium >= 35.x)
arekm
arekm at pld-linux.org
Wed Mar 12 16:57:39 CET 2014
commit 627e60274a3e418d2cb71efc99bc60bc23cb7931
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 12 16:57:35 2014 +0100
- enable video decode accel patch (will have some meaning for chromium >= 35.x)
chromium-browser.spec | 2 ++
enable-video-decode-accel.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index 471e9b8..a29c610 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -89,6 +89,7 @@ Source7: clean-source.sh
Source8: get-source.sh
Source9: master_preferences.json
Patch1: plugin-searchdirs.patch
+Patch2: enable-video-decode-accel.patch
Patch4: path-libpdf.patch
Patch7: dlopen_sonamed_gl.patch
Patch8: chromium_useragent.patch.in
@@ -300,6 +301,7 @@ sed -e 's/@BUILD_DIST@/PLD %{pld_version}/g' \
ln -s %{SOURCE7} .
%patch1 -p1
+%patch2 -p1
%patch4 -p3
%patch7 -p1
%patch10 -p1
diff --git a/enable-video-decode-accel.patch b/enable-video-decode-accel.patch
new file mode 100644
index 0000000..46b1522
--- /dev/null
+++ b/enable-video-decode-accel.patch
@@ -0,0 +1,11 @@
+--- chromium-browser-33.0.1750.146/content/common/gpu/media/gpu_video_decode_accelerator.cc~ 2014-02-20 21:28:24.000000000 +0100
++++ chromium-browser-33.0.1750.146/content/common/gpu/media/gpu_video_decode_accelerator.cc 2014-03-12 16:52:52.265999592 +0100
+@@ -278,7 +278,7 @@
+ weak_factory_for_io_.GetWeakPtr(),
+ make_context_current_,
+ io_message_loop_));
+-#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11)
++#elif defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11)
+ gfx::GLContextGLX* glx_context =
+ static_cast<gfx::GLContextGLX*>(stub_->decoder()->GetGLContext());
+ GLXContext glx_context_handle =
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/627e60274a3e418d2cb71efc99bc60bc23cb7931
More information about the pld-cvs-commit
mailing list