[Webkit-unassigned] [Bug 261927] [GTK] V4L2 Hardware Decode does not work (Missing /dev/video*) (Flatpak Specific)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 22 05:32:41 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261927

Michael Catanzaro <mcatanzaro at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at redhat.com

--- Comment #1 from Michael Catanzaro <mcatanzaro at redhat.com> ---
So I've been thinking about this more....

> I start epiphany with `flatpak run --device=all org.gnome.Epiphany`

We're not going to run the web process with --device=all (or --filesystem=, which could also be used to mount /dev/video* devices).

I'm thinking nobody has yet considered how hardware-accelerated video decoding is supposed to work for Flatpak applications. If access to /dev/video* is not security-sensitive, then Flatpak should just mount it automatically IMO. But I'm guessing it's moderately-sensitive, in which case a new permission, say --device=video, would make sense: we would use the new permission when launching the web process, then it would work if the application itself also uses the same permission. Another option *might* be a new desktop portal, but I'm thinking that's probably not suitable for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230922/91e4a9bd/attachment.htm>


More information about the webkit-unassigned mailing list