Commit 3953f40f authored by Guido Gunther's avatar Guido Gunther
Browse files

Bind devices for stateless h264 decoding

This passes the needed devices into the bubblewrap
sandbox.
parent 9f8f331c
Pipeline #65140 passed with stages
in 108 minutes and 5 seconds
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 4 Mar 2021 17:24:14 +0100
Subject: Bind devices for stateless h264 video decoding
Upstream-Bug: https://bugs.webkit.org/show_bug.cgi?id=222787
---
Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
index 889388a..8d8974b 100644
--- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
+++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
@@ -559,6 +559,8 @@ static void bindV4l(Vector<CString>& args)
// Not pretty but a stop-gap for pipewire anyway.
"--dev-bind-try", "/dev/video0", "/dev/video0",
"--dev-bind-try", "/dev/video1", "/dev/video1",
+ "--dev-bind-try", "/dev/video2", "/dev/video2",
+ "--dev-bind-try", "/dev/media0", "/dev/media0",
}));
}
...@@ -7,3 +7,4 @@ dont-detect-sse2.patch ...@@ -7,3 +7,4 @@ dont-detect-sse2.patch
reduce-memory-overheads.patch reduce-memory-overheads.patch
fix-mips-page-size.patch fix-mips-page-size.patch
0009-Drop-the-scroll-deceleration-friction-for-touchscree.patch 0009-Drop-the-scroll-deceleration-friction-for-touchscree.patch
Bind-devices-for-hw-video-decoding.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment